Bugzilla – Attachment 27623 Details for
Bug 12128
Acq basket shows some values with single decimal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Bug 12128 [Alternate] - Acq basket shows some values with single decimal
Signed-off-Bug-12128-Alternate---Acq-basket-shows-.patch (text/plain), 2.81 KB, created by
Marc Véron
on 2014-04-25 13:14:16 UTC
(
hide
)
Description:
[Signed-off] Bug 12128 [Alternate] - Acq basket shows some values with single decimal
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-04-25 13:14:16 UTC
Size:
2.81 KB
patch
obsolete
>From caeb7e565393d9a81ed861dba82ccafe41f8d043 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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 <veron@veron.ch> >--- > 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 %] > <tr> > <th></th> >- <th>Total (GST [% foot_loo.gstgsti %])</th> >+ <th>Total (GST [% foot_loo.gstgsti | format("%.2f") %])</th> > <th class="gste"> </th> > <th class="gste"> </th> > <th class="gsti"> </th> > <th class="gsti"> </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 | format("%.2f") %]</th> >+ <th class="gsti">[% foot_loo.totalgsti | format("%.2f") %]</th> > <th> </th> >- <th>[% foot_loo.gstvalue %]</th> >+ <th>[% foot_loo.gstvalue | format("%.2f") %]</th> > <th> </th> > [% IF ( active ) %] > [% UNLESS ( closedate ) %] >@@ -456,10 +456,10 @@ > <th class="gsti"> </th> > <th class="gsti"> </th> > <th>[% total_quantity %]</th> >- <th class="gste">[% total_gste %]</th> >- <th class="gsti">[% total_gsti %]</th> >+ <th class="gste">[% total_gste | format("%.2f") %]</th> >+ <th class="gsti">[% total_gsti | format("%.2f") %]</th> > <th> </th> >- <th>[% total_gstvalue %]</th> >+ <th>[% total_gstvalue | format("%.2f") %]</th> > <th> </th> > [% IF ( active ) %] > [% UNLESS ( closedate ) %] >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12128
:
27450
|
27478
|
27611
| 27623