suite
This commit is contained in:
parent
83b2c83252
commit
4ced707635
@ -1,3 +1,4 @@
|
||||
-if (p_customer_sheet.state != "panier" or p_customer_sheet.p_sheet_lines.count > 0)
|
||||
%tr#p_customer_sheet{:id => p_customer_sheet.id}
|
||||
%td="##{p_customer_sheet.id}"
|
||||
%td=l p_customer_sheet.created_at, :format => :date
|
||||
@ -15,7 +16,8 @@
|
||||
=number_to_currency totals[:total_ttc]
|
||||
|
||||
|
||||
%td=raw p_customer_sheet.state_html
|
||||
%td
|
||||
=raw p_customer_sheet.state_html
|
||||
|
||||
|
||||
%td.actions
|
||||
|
@ -18,10 +18,8 @@
|
||||
|
||||
%table.table.table-striped
|
||||
-p_contacts = @p_customer.p_contacts
|
||||
|
||||
-p_contacts = p_contacts + @p_document.particular_send.p_contacts if @p_document.particular_send
|
||||
|
||||
-p_contacts = p_contacts + @p_document.particular_bill.p_contacts if @p_document.particular_bill
|
||||
-@p_customer.particulars.each do |p|
|
||||
-p_contacts = p_contacts + p.p_contacts
|
||||
|
||||
|
||||
-p_contacts.uniq.each do |p_c|
|
||||
|
Loading…
x
Reference in New Issue
Block a user