This commit is contained in:
Nicolas Bally 2019-04-29 12:41:23 +02:00
parent 512eb7346a
commit 1d92ba074e

View File

@ -21,24 +21,25 @@
-if @product.orderable
.price
-if !@product.price_reduced_ht?
= number_to_currency(@product.price_ht, locale: :fr)
-else
= number_to_currency(@product.price_reduced_ht, locale: :fr)
HT
.price
-if !@product.price_reduced_ht?
= number_to_currency(@product.price_ht, locale: :fr)
-else
= number_to_currency(@product.price_reduced_ht, locale: :fr)
HT
%div
%span{:style => "font-weight:normal;"}
= number_to_currency(@product.price_ttc, locale: :fr)
TTC
%div
%span{:style => "font-weight:normal;"}
= number_to_currency(@product.price_ttc, locale: :fr)
TTC
-if @product.price_reduced_ht?
.price_reduced
%span.strip
= number_to_currency(@product.price_ttc, locale: :fr)
-if @product.price_reduced_ht?
.price_reduced
%span.strip
= number_to_currency(@product.price_ttc, locale: :fr)