From 438276ffa7e64b8467bcc1d7e3f792e427afcfa4 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 25 Apr 2014 08:06:56 -0400 Subject: [PATCH] Bug 12128 [Alternate] - Acq basket shows some values with single decimal To test open a basket and see some values without decimal formatting (e.g. in column Total tax exc.) --- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 14 +++++++------- 1 files 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.2.5