suite
This commit is contained in:
parent
3e7fabfbc9
commit
6e117c4adf
@ -9,15 +9,11 @@
|
|||||||
|
|
||||||
= f.input :file, :label => "Fichier :"
|
= f.input :file, :label => "Fichier :"
|
||||||
|
|
||||||
= f.input :buy_at, :label => "Date de la facture :", :as => :date
|
|
||||||
|
|
||||||
= f.hidden_field :m_odr_file_type_id
|
= f.hidden_field :m_odr_file_type_id
|
||||||
=# f.input :m_odr_file_type_id, :label => "Décision :", :collection => MOdrFileType.all, :as => :select, :include_blank => false
|
=# f.input :m_odr_file_type_id, :label => "Décision :", :collection => MOdrFileType.all, :as => :select, :include_blank => false
|
||||||
|
|
||||||
= f.input :admin_ok, :label => "Décision :", :collection => [["Validé",true], ["Refusé", false]], :as => :select
|
|
||||||
= f.input :reject_reason, :label => "Motif du rejet :", :collection => ["Mauvais document","Mauvaise qualité rendant le fichier illisible"]
|
|
||||||
|
|
||||||
= f.input :reject_reason_description, :label => "Précisions sur le rejet", :input_html => {:style => "height:100px;"}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -32,6 +28,7 @@
|
|||||||
|
|
||||||
|
|
||||||
-else
|
-else
|
||||||
|
= f.input :buy_at, :label => "Date de la facture :", :as => :date
|
||||||
%table.m_odr_file_roulages_form.form-table
|
%table.m_odr_file_roulages_form.form-table
|
||||||
=f.semantic_fields_for :m_odr_file_roulages do |form|
|
=f.semantic_fields_for :m_odr_file_roulages do |form|
|
||||||
=render :partial => "admin/m_odr_file_roulages/form", :locals => {:form => form}
|
=render :partial => "admin/m_odr_file_roulages/form", :locals => {:form => form}
|
||||||
@ -39,6 +36,10 @@
|
|||||||
%p= link_to_add_fields ic(:plus)+" Ajouter un roulage", f, :m_odr_file_roulages
|
%p= link_to_add_fields ic(:plus)+" Ajouter un roulage", f, :m_odr_file_roulages
|
||||||
|
|
||||||
|
|
||||||
|
= f.input :admin_ok, :label => "Décision :", :collection => [["Validé",true], ["Refusé", false]], :as => :select
|
||||||
|
|
||||||
|
= f.input :reject_reason_description, :label => "Commentaire interne", :input_html => {:style => "height:100px;"}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.large_actions
|
.large_actions
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
.qi_header
|
.qi_header
|
||||||
.right= link_to ic(:plus)+' Ajouter', new_admin_m_odr_prime_path(), :class => "btn btn-primary btn-ap-add", :remote => true
|
.right= link_to ic(:plus)+' Ajouter', new_admin_m_odr_prime_path(), :class => "btn btn-primary btn-ap-add", :remote => true
|
||||||
%h1
|
%h1
|
||||||
|
Primes
|
||||||
|
%span
|
||||||
|
Primes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.right
|
.right
|
||||||
#state=render :partial => "admin/m_odr_primes/state"
|
#state=render :partial => "admin/m_odr_primes/state"
|
||||||
%h1
|
%h1
|
||||||
Prime
|
Primes
|
||||||
%span
|
%span
|
||||||
Détail de la prime
|
Détail de la prime
|
||||||
="##{@m_odr_prime.id}"
|
="##{@m_odr_prime.id}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user