suite
This commit is contained in:
parent
cd4bc02823
commit
02e96436c5
@ -1,17 +1,17 @@
|
||||
|
||||
%tr#m_odr_file_row{:id => m_odr_file.id}
|
||||
-m_odr_file.m_odr_file_roulages.each do |m_odr_file_roulage|
|
||||
%tr#m_odr_file_row{:id => m_odr_file.id}
|
||||
|
||||
%td
|
||||
=l m_odr_file.created_at, :format => :date
|
||||
%td
|
||||
=l m_odr_file_roulage.date, :format => :date if m_odr_file_roulage.date
|
||||
|
||||
%td
|
||||
=link_to ic(:download)+" Télécharger le document", download_admin_m_odr_file_path(m_odr_file, :disposition => "attachment")
|
||||
%td
|
||||
=link_to ic(:download)+" Télécharger le document", download_admin_m_odr_file_path(m_odr_file, :disposition => "attachment")
|
||||
|
||||
|
||||
%td.state
|
||||
-if m_odr_file.admin_ok
|
||||
=state_helper("Validé")
|
||||
-elsif m_odr_file.admin_ok == false
|
||||
=state_helper("Refusé")
|
||||
-else
|
||||
=state_helper("En cours de vérification")
|
||||
%td.state
|
||||
-if m_odr_file.admin_ok
|
||||
=state_helper("Validé")
|
||||
-elsif m_odr_file.admin_ok == false
|
||||
=state_helper("Refusé")
|
||||
-else
|
||||
=state_helper("En cours de vérification")
|
@ -159,7 +159,7 @@
|
||||
= link_to 'Envoyer une facture de pneus', new_public_m_odr_file_path(:m_odr_file_type_id => 2), :class => "new_btn"
|
||||
%br
|
||||
%br
|
||||
%h3 Mes factures de roulage
|
||||
%h3 Mes journées de roulages
|
||||
-if m_odr_files = current_p_customer.m_odr_files.where(:m_odr_file_type_id => 1) and m_odr_files.count > 0
|
||||
%table.table
|
||||
=render m_odr_files
|
||||
|
Loading…
x
Reference in New Issue
Block a user