suite
This commit is contained in:
parent
d90713a8e7
commit
31c0f673d4
@ -183,16 +183,35 @@
|
|||||||
-if @product_order.reseaux_id != 19
|
-if @product_order.reseaux_id != 19
|
||||||
%td{:style => "width:135px;padding:0;vertical-align:middle"}
|
%td{:style => "width:135px;padding:0;vertical-align:middle"}
|
||||||
=image_tag "http://negos.pro"+product_order_product.product.default_image.image_file.file.large.medium.small.thumb.url, :style => "width:130px;" if product_order_product.product.default_image
|
=image_tag "http://negos.pro"+product_order_product.product.default_image.image_file.file.large.medium.small.thumb.url, :style => "width:130px;" if product_order_product.product.default_image
|
||||||
%td
|
%td{:style => ""+("border-bottom: 0;padding-bottom:0;"if @product_order.reseaux_id == 19).to_s}
|
||||||
=simple_format product_order_product.archived_product.lang(:fr).bl_title
|
=simple_format product_order_product.archived_product.lang(:fr).bl_title
|
||||||
|
|
||||||
-if @product_order.reseaux_id == 19
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
=# product_order_product.archived_product_size.name if product_order_product.archived_product_size
|
||||||
|
|
||||||
|
|
||||||
|
=# product_order_product.archived_product_option.lang(I18n.locale).name if product_order_product.archived_product_option
|
||||||
|
|
||||||
|
%td{:style => "text-align:right;"+("border-bottom: 0;"if @product_order.reseaux_id == 19).to_s}
|
||||||
|
= number_to_currency(product_order_product.archived_product.final_price_ht.to_f, locale: :fr) if product_order_product.archived_product
|
||||||
|
|
||||||
|
%td{:style => "text-align:right;"+("border-bottom: 0;"if @product_order.reseaux_id == 19).to_s}
|
||||||
|
=product_order_product.qty
|
||||||
|
%td{:style => "text-align:right;"+("border-bottom: 0;"if @product_order.reseaux_id == 19).to_s}
|
||||||
|
= number_to_currency(product_order_product.archived_final_price_ht_with_qty, locale: :fr) if product_order_product.archived_product
|
||||||
|
|
||||||
|
-if @product_order.reseaux_id == 19
|
||||||
|
%tr
|
||||||
|
%td{:colspan => 3, :style => "border-top:0;padding-top:0"}
|
||||||
%table.sub_products{:style => "width:100%;margin-bottom:20px;margin-top:5px;"}
|
%table.sub_products{:style => "width:100%;margin-bottom:20px;margin-top:5px;"}
|
||||||
%tr
|
%tr
|
||||||
%th Référence
|
%th Référence
|
||||||
%th Nom
|
%th Nom
|
||||||
|
|
||||||
|
%th Prix U.
|
||||||
%th Nbr
|
%th Nbr
|
||||||
%th Prix HT
|
%th Prix HT
|
||||||
|
|
||||||
@ -203,29 +222,14 @@
|
|||||||
%td
|
%td
|
||||||
=sub_product.name
|
=sub_product.name
|
||||||
|
|
||||||
|
%td
|
||||||
|
=number_to_currency sub_product.price_ht_with_qte
|
||||||
|
|
||||||
%td
|
%td
|
||||||
=sub_product.qte_tot
|
=sub_product.qte_tot
|
||||||
%td
|
%td
|
||||||
=number_to_currency sub_product.price_tot_with_qte
|
=number_to_currency sub_product.price_tot_with_qte
|
||||||
|
%td
|
||||||
|
|
||||||
|
|
||||||
=# product_order_product.archived_product_size.name if product_order_product.archived_product_size
|
|
||||||
|
|
||||||
|
|
||||||
=# product_order_product.archived_product_option.lang(I18n.locale).name if product_order_product.archived_product_option
|
|
||||||
|
|
||||||
%td{:style => "text-align:right;"}
|
|
||||||
= number_to_currency(product_order_product.archived_product.final_price_ht.to_f, locale: :fr) if product_order_product.archived_product
|
|
||||||
|
|
||||||
%td{:style => "text-align:right;"}
|
|
||||||
=product_order_product.qty
|
|
||||||
%td{:style => "text-align:right;"}
|
|
||||||
= number_to_currency(product_order_product.archived_final_price_ht_with_qty, locale: :fr) if product_order_product.archived_product
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user