Bugzilla – Attachment 54160 Details for
Bug 17078
Format fines on opac-account.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17078 - Format fines on opac-account.pl
SIGNED-OFF-Bug-17078---Format-fines-on-opac-accoun.patch (text/plain), 2.95 KB, created by
Owen Leonard
on 2016-08-08 13:11:42 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17078 - Format fines on opac-account.pl
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-08-08 13:11:42 UTC
Size:
2.95 KB
patch
obsolete
>From 01f7dd4937bdf703ebf33e77213e1e0c0a796f12 Mon Sep 17 00:00:00 2001 >From: Marc <veron@veron.ch> >Date: Mon, 8 Aug 2016 14:04:44 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 17078 - Format fines on opac-account.pl >Content-Type: text/plain; charset="utf-8" > >To verify: >- Log in to OPAC as a user who has fines or credits >- Go to page "your fines" >- Verify that values for "Fine amount", "Amount outstanding" > and "Total due" are not formatted as defined in syspref CurrencyFormat > (e.g. for FR) > >To test: >- Apply patch >- Repeat steps above >- Verify that values are formatted as appropriate with different > settings for syspref CurrencyFormat > >Note: This patch does not force text alignment to the right. > Text alignement can be done using syspref OPACUserCSS > (td.sum, td.credit, td.debit) > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >index 289acfd..e38b10d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >@@ -1,5 +1,6 @@ > [% USE Koha %] > [% USE KohaDates %] >+[% USE Price %] > [% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') %] > [% SET DISPLAY_PAYMENT_BLOCK = 0 %] > >@@ -84,7 +85,7 @@ > [%- SET COLSPAN = 3 -%] > [%- END -%] > <th class="sum" colspan="[% COLSPAN %]">Total due</th> >- <td class="sum">[% total %]</td> >+ <td class="sum">[% total | $Price %]</td> > </tr> > </tfoot> > >@@ -127,8 +128,8 @@ > [%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %] > [% IF ACCOUNT_LINE.title %]([% ACCOUNT_LINE.title %])[% END %] > </td> >- [% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td> >- [% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td> >+ [% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount | $Price %]</td> >+ [% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding | $Price %]</td> > </tr> > [% END %] > </tbody> >-- >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 17078
:
54155
|
54160
|
54185