diff --git a/app/views/admin/p_customer_sheets/show.html.haml b/app/views/admin/p_customer_sheets/show.html.haml index a81ea7d..8433d7f 100644 --- a/app/views/admin/p_customer_sheets/show.html.haml +++ b/app/views/admin/p_customer_sheets/show.html.haml @@ -95,9 +95,13 @@ =l price_line.return_at, :format => :short_date if price_line.return_at - %br - Carburant : livrée réservoir plein, rendu plein, remise à niveau GNR 1,20€ HT / litres (1,44€ TTC) - + -if price_line.carburant + %br + Carburant : livrée réservoir plein, rendu plein, remise à niveau : + =price_line.carburant_type + =number_to_currency price_line.carburant_price + HT / litres + ="(#{number_to_currency(price_line.carburant_price*(price_line.tva_account_value/100+1))} TTC)" %br %br