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 .price
-if !@product.price_reduced_ht? -if !@product.price_reduced_ht?
= number_to_currency(@product.price_ht, locale: :fr) = number_to_currency(@product.price_ht, locale: :fr)
-else -else
= number_to_currency(@product.price_reduced_ht, locale: :fr) = number_to_currency(@product.price_reduced_ht, locale: :fr)
HT HT
%div %div
%span{:style => "font-weight:normal;"} %span{:style => "font-weight:normal;"}
= number_to_currency(@product.price_ttc, locale: :fr) = number_to_currency(@product.price_ttc, locale: :fr)
TTC TTC
-if @product.price_reduced_ht? -if @product.price_reduced_ht?
.price_reduced .price_reduced
%span.strip %span.strip
= number_to_currency(@product.price_ttc, locale: :fr) = number_to_currency(@product.price_ttc, locale: :fr)