diff --git a/app/views/public/products/show.html.haml b/app/views/public/products/show.html.haml index 3c4a3a4..0131bce 100755 --- a/app/views/public/products/show.html.haml +++ b/app/views/public/products/show.html.haml @@ -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)