Bugzilla – Attachment 29532 Details for
Bug 12429
patron seeing fines codes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 12429 [OPAC] patron seeing fines codes
PASSED-QA-Bug-12429-OPAC-patron-seeing-fines-codes.patch (text/plain), 3.64 KB, created by
Katrin Fischer
on 2014-07-06 20:13:01 UTC
(
hide
)
Description:
[PASSED QA] Bug 12429 [OPAC] patron seeing fines codes
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-07-06 20:13:01 UTC
Size:
3.64 KB
patch
obsolete
>From 14326a53006d70d0243ee75dc39fb36195bf46b7 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 30 Jun 2014 10:12:06 -0400 >Subject: [PATCH] [PASSED QA] Bug 12429 [OPAC] patron seeing fines codes > >Bug 2546 introduced translatable handling of Koha account type codes but >missed several codes. This patch adds handling of these codes to the >bootstrap OPAC. > >This patch also corrects a couple of instances of incorrect >capitalization. > >To test, apply the patch and log in to the OPAC as a user who has >existing fines and charges. View the "Your fines" page. You should not >see any account type codes like CR, LR, or FU. > >Signed-off-by: Aleisha <aleishaamohia@hotmail.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > .../opac-tmpl/bootstrap/en/modules/opac-account.tt | 22 +++++++++++++++------- > 1 file changed, 15 insertions(+), 7 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 bbab1d0..1212bdb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt >@@ -49,17 +49,25 @@ > [% IF ( ACCOUNT_LINE.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] > <td>[% ACCOUNT_LINE.date | $KohaDates %]</td> > <td> >- [% SWITCH ACCOUNT_LINE.accounttype %] >- [% CASE 'Pay' %]Payment,thanks >- [% CASE 'Pay00' %]Payment,thanks (cash via SIP2) >- [% CASE 'Pay01' %]Payment,thanks (VISA via SIP2) >- [% CASE 'Pay02' %]Payment,thanks (credit card via SIP2) >- [% CASE 'N' %]New Card >+ [% SWITCH ACCOUNT_LINE.accounttype %] >+ [% CASE 'Pay' %]Payment, thanks >+ [% CASE 'Pay00' %]Payment, thanks (cash via SIP2) >+ [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2) >+ [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2) >+ [% CASE 'N' %]New card > [% CASE 'F' %]Fine > [% CASE 'A' %]Account management fee > [% CASE 'M' %]Sundry >- [% CASE 'L' %]Lost Item >+ [% CASE 'L' %]Lost item > [% CASE 'W' %]Writeoff >+ [% CASE 'FU' %]Accruing fine >+ [% CASE 'Rent' %]Rental fee >+ [% CASE 'FOR' %]Forgiven >+ [% CASE 'LR' %]Lost item fee refund >+ [% CASE 'PAY' %]Payment >+ [% CASE 'WO' %]Writeoff >+ [% CASE 'C' %]Credit >+ [% CASE 'CR' %]Credit > [% CASE %][% ACCOUNT_LINE.accounttype %] > [%- END -%] > [%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %] >-- >1.9.1
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 12429
:
28867
|
29334
|
29369
|
29370
|
29389
|
29390
|
29531
| 29532