This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/app/views/admin/stat_lines/_form.html.haml
2021-08-23 10:26:02 +02:00

49 lines
2.4 KiB
Plaintext

=semantic_form_for [:admin, @stat_line], :remote => true do |f|
.content
=f.inputs do
= f.input :p_product, :label => "p_product :"
= f.input :product_name, :label => "product_name :"
= f.input :product_code, :label => "product_code :"
= f.input :p_product_ref, :label => "p_product_ref :"
= f.input :p_product_ref_name, :label => "p_product_ref_name :"
= f.input :tva_rate, :label => "tva_rate :"
= f.input :tva_account_id, :label => "tva_account_id :"
= f.input :title, :label => "title :"
= f.input :price_u_ht, :label => "price_u_ht :"
= f.input :price_u_tva, :label => "price_u_tva :"
= f.input :price_u_ttc, :label => "price_u_ttc :"
= f.input :qte, :label => "qte :"
= f.input :weight, :label => "weight :"
= f.input :tot_line_ht, :label => "tot_line_ht :"
= f.input :tot_line_tva, :label => "tot_line_tva :"
= f.input :tot_line_ttc, :label => "tot_line_ttc :"
= f.input :tot_discount_ht, :label => "tot_discount_ht :"
= f.input :tot_discount_tva, :label => "tot_discount_tva :"
= f.input :tot_discount_ttc, :label => "tot_discount_ttc :"
= f.input :tot_amount_ht, :label => "tot_amount_ht :"
= f.input :tot_amount_tva, :label => "tot_amount_tva :"
= f.input :tot_amount_ttc, :label => "tot_amount_ttc :"
= f.input :weight_u, :label => "weight_u :"
= f.input :weight_tot, :label => "weight_tot :"
= f.input :cost_ht, :label => "cost_ht :"
= f.input :cost_u_ht, :label => "cost_u_ht :"
= f.input :marge_ht, :label => "marge_ht :"
= f.input :marge_ht_u, :label => "marge_ht_u :"
= f.input :cost_u_w_ht, :label => "cost_u_w_ht :"
= f.input :marge_u_w_ht, :label => "marge_u_w_ht :"
= f.input :p_commercial, :label => "p_commercial :"
= f.input :p_commercial_name, :label => "p_commercial_name :"
= f.input :p_commercial_code, :label => "p_commercial_code :"
= f.input :p_product_cat_id, :label => "p_product_cat_id :"
= f.input :p_product_cat_name, :label => "p_product_cat_name :"
= f.input :p_customer, :label => "p_customer :"
= f.input :p_customer_name, :label => "p_customer_name :"
= f.input :p_customer_code, :label => "p_customer_code :"
.actions=f.submit "sauvegarder", :class => "btn btn-primary"