Bugzilla – Attachment 27611 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]
Bug 12128 [Alternate] - Acq basket shows some values with single decimal
Bug-12128-Alternate---Acq-basket-shows-some-values.patch (text/plain), 2.65 KB, created by
Kyle M Hall (khall)
on 2014-04-25 12:08:20 UTC
(
hide
)
Description:
Bug 12128 [Alternate] - Acq basket shows some values with single decimal
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-04-25 12:08:20 UTC
Size:
2.65 KB
patch
obsolete
>From 438276ffa7e64b8467bcc1d7e3f792e427afcfa4 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] 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 %] > <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.2.5
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