initial show ok
This commit is contained in:
parent
e2e6ff305b
commit
028c860da9
@ -19,7 +19,7 @@
|
|||||||
%tr
|
%tr
|
||||||
%td Produit
|
%td Produit
|
||||||
%td=@p_product_ref.p_product.name #link_to @p_product_ref.p_product.name, [:admin, @p_product_ref.p_product]
|
%td=@p_product_ref.p_product.name #link_to @p_product_ref.p_product.name, [:admin, @p_product_ref.p_product]
|
||||||
|
-if false
|
||||||
%tr
|
%tr
|
||||||
%td Actif ?
|
%td Actif ?
|
||||||
%td=@p_product_ref.enabled ? "Oui" : "Non"
|
%td=@p_product_ref.enabled ? "Oui" : "Non"
|
||||||
@ -29,28 +29,14 @@
|
|||||||
%td Référence assemblée ?
|
%td Référence assemblée ?
|
||||||
%td=@p_product_ref.assembled ? "Oui" : "Non"
|
%td=@p_product_ref.assembled ? "Oui" : "Non"
|
||||||
|
|
||||||
%tr
|
|
||||||
%td Référence interne :
|
|
||||||
%td=@p_product_ref.ref
|
|
||||||
|
|
||||||
%tr
|
|
||||||
%td Désignation variante :
|
|
||||||
%td=@p_product_ref.ct_sub_name
|
|
||||||
|
|
||||||
%tr
|
|
||||||
%td Prix de vente :
|
|
||||||
%td=number_to_currency @p_product_ref.ct_price_ht
|
|
||||||
|
|
||||||
%tr
|
|
||||||
%td Unité de vente (archive) :
|
|
||||||
%td= @p_product_ref.uv
|
|
||||||
|
|
||||||
%tr
|
%tr
|
||||||
%td Conditionnement de référence :
|
%td Conditionnement de référence :
|
||||||
%td
|
%td
|
||||||
-if @p_product_ref.p_product and @p_product_ref.p_product.p_product_conditioning
|
-if @p_product_ref.p_product and @p_product_ref.p_product.p_product_conditioning
|
||||||
= @p_product_ref.p_product.p_product_conditioning.name
|
= @p_product_ref.p_product.p_product_conditioning.name
|
||||||
|
%tr
|
||||||
|
%td Unité de vente (archive) :
|
||||||
|
%td= @p_product_ref.uv
|
||||||
|
|
||||||
%tr
|
%tr
|
||||||
%td Conditionnement :
|
%td Conditionnement :
|
||||||
@ -58,20 +44,36 @@
|
|||||||
-if @p_product_ref.p_product_conditioning
|
-if @p_product_ref.p_product_conditioning
|
||||||
= @p_product_ref.p_product_conditioning.name
|
= @p_product_ref.p_product_conditioning.name
|
||||||
|
|
||||||
%tr
|
|
||||||
%td Quantité par rapport au conditionnement de référence :
|
|
||||||
%td
|
|
||||||
= @p_product_ref.conditioning_ref_qte
|
|
||||||
|
|
||||||
%tr
|
%tr
|
||||||
%td Prix de vente à l'unité de référence
|
%td Prix de vente à l'unité de référence
|
||||||
%td
|
%td
|
||||||
=number_to_currency( @p_product_ref.ct_price_ht / @p_product_ref.conditioning_ref_qte, :precision => 3) if @p_product_ref.ct_price_ht? and @p_product_ref.conditioning_ref_qte?
|
=number_to_currency( @p_product_ref.ct_price_ht / @p_product_ref.conditioning_ref_qte, :precision => 3) if @p_product_ref.ct_price_ht? and @p_product_ref.conditioning_ref_qte?
|
||||||
="/"
|
="/"
|
||||||
= @p_product_ref.p_product.p_product_conditioning.name if @p_product_ref.p_product.p_product_conditioning
|
= @p_product_ref.p_product.p_product_conditioning.name if @p_product_ref.p_product.p_product_conditioning
|
||||||
|
%tr
|
||||||
|
%td Quantité par rapport au conditionnement de référence :
|
||||||
|
%td
|
||||||
|
= @p_product_ref.conditioning_ref_qte
|
||||||
|
|
||||||
|
%tr
|
||||||
|
%td Référence interne :
|
||||||
|
%td=@p_product_ref.ref
|
||||||
|
|
||||||
|
%tr
|
||||||
|
%td Désignation variante :
|
||||||
|
%td=@p_product_ref.ct_sub_name
|
||||||
|
|
||||||
|
%tr
|
||||||
|
%td Dernier prix d'achat :
|
||||||
|
%td=number_to_currency @p_product_ref.ct_price_ht
|
||||||
|
|
||||||
|
|
||||||
-if @p_product_ref
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-if false
|
||||||
|
|
||||||
-@line_stocks = @p_product_ref.line_stocks
|
-@line_stocks = @p_product_ref.line_stocks
|
||||||
.qi_kpi
|
.qi_kpi
|
||||||
@ -133,6 +135,7 @@
|
|||||||
|
|
||||||
.clear
|
.clear
|
||||||
|
|
||||||
|
-if false
|
||||||
.qi_row
|
.qi_row
|
||||||
.qi_pannel
|
.qi_pannel
|
||||||
%h3 Historique des prix d'achat
|
%h3 Historique des prix d'achat
|
||||||
@ -169,4 +172,3 @@
|
|||||||
%td
|
%td
|
||||||
=number_to_currency price_line.price_u_ht
|
=number_to_currency price_line.price_u_ht
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user