remove form commande
This commit is contained in:
parent
f0638e82ac
commit
28490c3e96
@ -1,41 +0,0 @@
|
||||
|
||||
=f.inputs do
|
||||
|
||||
|
||||
-if !@p_customer_sheet or (@p_customer_sheet and @p_customer_sheet.state != "commande")
|
||||
.qi_pannel.qi_plain.padding{:style => "margin:20px 0;"}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
= f.input :p_fournisseur, :label => "Fournisseur :", :collection => PFournisseur.order(:name).all, :as => :select
|
||||
|
||||
|
||||
|
||||
= f.input :customer_ref, :label => "Numéro de facture fournisseur :"
|
||||
-if current_admin.has_permission?("customer-sheets-bl")
|
||||
=# f.input :bl_comment, :label => "Commentaire à mettre sur le BL :", :input_html => {:style => "min-height:50px;height:50px;"}
|
||||
|
||||
-if @p_customer_sheet and @p_customer_sheet.p_customer and @p_customer_sheet.p_customer.p_customer_sheet_note?
|
||||
%div
|
||||
%strong Notes pour les demandes de commandes pour ce client :
|
||||
=simple_format @p_customer_sheet.p_customer.p_customer_sheet_note
|
||||
%br
|
||||
|
||||
|
||||
|
||||
= f.input :p_devise_id, :label => "Devise :", :collection => PDevise.order(:id).all, :as => :select, :include_blank => false
|
||||
= f.input :local_amount_ttc, :label => "Montant TTC en € réglé pour cette facture :"
|
||||
|
||||
|
||||
|
||||
.price_lines_form
|
||||
=f.semantic_fields_for :price_lines do |f|
|
||||
=render :partial => "admin/price_lines/form_facture_dachat", :locals => {:form => f}
|
||||
|
||||
%p= link_to_add_fields "Ajouter une ligne", f, :price_lines, {:class => "btn btn-primary", :partial => "admin/price_lines/form_facture_dachat"}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user