This commit is contained in:
Nicolas Bally 2019-02-05 19:09:21 +01:00
parent 45b241cb7a
commit 9493a30b57
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
%td= ic(:check) if p_payment.paid
%td= l(p_payment.paid_at, :format => :date) if p_payment.paid_at
%td= l(p_payment.theo_date, :format => :date) if p_payment.theo_date
%td= p_payment.p_customer.show_name if p_payment.p_customer
%td=link_to(p_payment.p_customer.show_name, [:admin, p_payment.p_customer]) if p_payment.p_customer
%td= number_to_currency p_payment.amount
%td= number_to_currency(p_payment.amount-p_payment.total_affected) if (p_payment.amount-p_payment.total_affected) > 0

View File

@ -93,7 +93,7 @@
-if p_sheet_line_line
=form.fields_for(:p_sheet_line_lines, p_sheet_line_line) do |builder|
=builder.hidden_field :p_product_stock_id,:label => false, :as => :string
=builder.input :qte,:label => false, :as => :string, :input_html => {:class => "qte"}
=builder.input :qte,:label => false, :input_html => {:class => "qte"}
%td.qte_tot.price_td
%td.price.price_td{:data => {:price => form.object.price}}
@ -113,7 +113,7 @@
-if p_sheet_line_line
=form.fields_for(:p_sheet_line_lines, p_sheet_line_line) do |builder|
=builder.hidden_field :p_product_stock_id,:label => false, :as => :string
=builder.input :qte,:label => false, :as => :string, :input_html => {:class => "qte"}
=builder.input :qte,:label => false, :input_html => {:class => "qte"}
%td.qte_tot.price_td
%td.price.price_td{:data => {:price => form.object.price}}