31 lines
1023 B
Plaintext
31 lines
1023 B
Plaintext
%tr.sheet_line#sheet_line{:id => p_sheet_line.id, :data => {:p_sheet_line_id => p_sheet_line.id}}
|
|
|
|
%td
|
|
=l p_sheet_line.ok_at, :format => :date if p_sheet_line.ok_at
|
|
%td.order_number
|
|
=link_to admin_p_customer_sheet_path(p_sheet_line.p_customer_sheet) do
|
|
=p_sheet_line.p_product.name
|
|
|
|
%td.qte
|
|
%strong=p_sheet_line.qte
|
|
|
|
%td.address
|
|
=link_to admin_p_customer_path(p_sheet_line.p_customer_sheet.p_customer) do
|
|
-if p_sheet_line.p_customer_sheet.particular_send.organisation?
|
|
=p_sheet_line.p_customer_sheet.particular_send.organisation
|
|
|
|
-if p_sheet_line.p_customer_sheet.particular_send.firstname? or p_sheet_line.p_customer_sheet.particular_send.name?
|
|
%strong
|
|
=p_sheet_line.p_customer_sheet.particular_send.name
|
|
=p_sheet_line.p_customer_sheet.particular_send.firstname
|
|
|
|
%td
|
|
=p_sheet_line.particular_send.cp
|
|
%td
|
|
=p_sheet_line.particular_send.city
|
|
|
|
-if @p_ship_tour and !@p_ship_tour.state
|
|
%td.take
|
|
=ic :arrows
|
|
|