From caeb7e565393d9a81ed861dba82ccafe41f8d043 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 25 Apr 2014 08:06:56 -0400 Subject: [PATCH] [Signed-off] Bug 12128 [Alternate] - Acq basket shows some values with single decimal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To test open a basket and see some values without decimal formatting (e.g. in column Total tax exc.) Works as expected. Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 37ac2d2..3991111 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -429,16 +429,16 @@ [% FOREACH foot_loo IN book_foot_loop %] - Total (GST [% foot_loo.gstgsti %]) + Total (GST [% foot_loo.gstgsti | format("%.2f") %])         [% foot_loo.quantity %] - [% foot_loo.totalgste %] - [% foot_loo.totalgsti %] + [% foot_loo.totalgste | format("%.2f") %] + [% foot_loo.totalgsti | format("%.2f") %]   - [% foot_loo.gstvalue %] + [% foot_loo.gstvalue | format("%.2f") %]   [% IF ( active ) %] [% UNLESS ( closedate ) %] @@ -456,10 +456,10 @@     [% total_quantity %] - [% total_gste %] - [% total_gsti %] + [% total_gste | format("%.2f") %] + [% total_gsti | format("%.2f") %]   - [% total_gstvalue %] + [% total_gstvalue | format("%.2f") %]   [% IF ( active ) %] [% UNLESS ( closedate ) %] -- 1.7.10.4