From 4eb5271e395ad01da251c00174493d1e5886caae Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 27 Apr 2020 15:34:49 +0200 Subject: [PATCH] suite --- app/views/admin/p_customer_sheets/show.html.haml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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