This commit is contained in:
Nicolas Bally 2020-04-22 23:23:56 +02:00
parent 232aef54e6
commit 63a33650a9
2 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class MOdrRep < ApplicationRecord
belongs_to :m_odr_tracker
belongs_to :m_odr_product_cat
def reduc_code_needed?
@ -281,6 +282,8 @@ file_admin_ok remise particular_civilite particular_name particular_firstname pa
:cc_tracker_name => {:name => "Trackeur", :reorder => true},
:m_odr_product_cat => {:name => "Type"},

View File

@ -18,6 +18,10 @@
-tr[:cc_admin_ok_to_send] = capture do
%td= "oui" if m_odr_rep.admin_ok_to_send
-tr[:m_odr_product_cat] = capture do
%td= m_odr_rep.m_odr_product_cat.name if m_odr_rep.m_odr_product_cat
-tr[:actions] = capture do
%td.actions