Bugzilla – Attachment 62803 Details for
Bug 18504
Amount owed on fines tab should be formatted as price if <10 or credit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug Bug 18504 - Amount owed on fines tab should be formatted as price if <10 or credit
Bug-Bug-18504---Amount-owed-on-fines-tab-should-be.patch (text/plain), 2.28 KB, created by
Nick Clemens (kidclamp)
on 2017-04-27 19:41:53 UTC
(
hide
)
Description:
Bug Bug 18504 - Amount owed on fines tab should be formatted as price if <10 or credit
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-04-27 19:41:53 UTC
Size:
2.28 KB
patch
obsolete
>From e04d3635b104af46dd2c80d2df010a1da204b46c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 27 Apr 2017 15:39:35 -0400 >Subject: [PATCH] Bug Bug 18504 - Amount owed on fines tab should be formatted > as price if <10 or credit > >To test: >1 - Give a patron a fine of 1 >2 - View opac fines tab, it shows as '1' >3 - Give patron a credit of '1' >4 - View opac fines tab, it shows as '1' >5 - Apply patch >6 - Both now show as '1.00' >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index 65e6f54..878083a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -358,7 +358,7 @@ Using this account is not recommended because some parts of Koha will not functi > <tbody> > <tr> > <td>You currently owe fines and charges amounting to:</td> >- <td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding %]</a></td> >+ <td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td> > </tr> > </tbody> > </table> >@@ -371,7 +371,7 @@ Using this account is not recommended because some parts of Koha will not functi > <thead><tr><th colspan="2">Amount</th></tr></thead> > <tbody> > <tr> >- <td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding %]</a></td> >+ <td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl">[% amountoutstanding | $Price %]</a></td> > </tr> > </tbody> > </table> >-- >2.1.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 18504
:
62803
|
62805
|
63383