Bug 12970: Format totals
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 25 Sep 2014 14:32:01 +0000 (16:32 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 19 Feb 2015 13:08:19 +0000 (10:08 -0300)
The total values should be formated too.

Test plan:
1/ Go on the basket page
2/ Using the CurrencyFormat, verify the totals are correctly formated.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt

index ef6d9d0..117e7b2 100644 (file)
                         <th class="gsti">&nbsp;</th>
                         <th class="gsti">&nbsp;</th>
                         <th>[% foot_loo.quantity %]</th>
-                        <th class="gste">[% foot_loo.totalgste %]</th>
-                        <th class="gsti">[% foot_loo.totalgsti %]</th>
+                        <th class="gste">[% foot_loo.totalgste | $Price%]</th>
+                        <th class="gsti">[% foot_loo.totalgsti | $Price %]</th>
                         <th>&nbsp;</th>
-                        <th>[% foot_loo.gstvalue %]</th>
+                        <th>[% foot_loo.gstvalue | $Price %]</th>
                         <th>&nbsp;</th>
                         [% IF ( active ) %]
                             [% UNLESS ( closedate ) %]
                     <th class="gsti">&nbsp;</th>
                     <th class="gsti">&nbsp;</th>
                     <th>[% total_quantity %]</th>
-                    <th class="gste">[% total_gste %]</th>
-                    <th class="gsti">[% total_gsti %]</th>
+                    <th class="gste">[% total_gste | $Price %]</th>
+                    <th class="gsti">[% total_gsti | $Price %]</th>
                     <th>&nbsp;</th>
-                    <th>[% total_gstvalue %]</th>
+                    <th>[% total_gstvalue | $Price %]</th>
                     <th>&nbsp;</th>
                     [% IF ( active ) %]
                         [% UNLESS ( closedate ) %]