diff --git a/app/views/admin/price_lines/_form.html.haml b/app/views/admin/price_lines/_form.html.haml index 42c6235..9eb6281 100644 --- a/app/views/admin/price_lines/_form.html.haml +++ b/app/views/admin/price_lines/_form.html.haml @@ -15,11 +15,13 @@ -if form.object.forced_price and form.object.p_product_ref %td .mx-4 - =qi_js_field(form, :price_line, :price_u_ht, :label => "Prix U HT :", :value => form.object.th_price_u_ht) + .form-inline + =qi_js_field(form, :price_line, :price_u_ht, :label => "Prix U HT :", :value => form.object.th_price_u_ht) -else %td - .mx-4 - =qi_js_field(form, :price_line, :price_u_ht, :label => "Prix U HT :") + .mx-3 + .form-inline + =qi_js_field(form, :price_line, :price_u_ht, :label => "Prix U HT :") %td .form-inline.mx-4{:style => ("display:none;" if !current_admin or !current_admin.has_permission?("customer-sheets-personalised-price"))} = form.input :forced_price, :label => "Prix personnalisé ?", :as => :boolean, :input_html => {:class => "input_price_line_forced_price"} @@ -34,7 +36,7 @@ %label.mx-4 Taux de TVA : =select_tag :tva_account_id, options_from_collection_for_select(TvaRate.where(:accounting_zone_id => (@p_customer ? @p_customer.accounting_zone_id : nil)).all, "id", "member_label", form.object.tva_account_id), :class => "input_price_line_tva_account_id form-control custom-select" #, :disabled => true %td - .mx-4 + .ml-4 %span.destroy=link_to_remove_fields ic(:"trash-o"), form