Bugzilla – Attachment 29334 Details for
Bug 12429
patron seeing fines codes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12429 [staff client] patron seeing fines codes
Bug-12429-staff-client-patron-seeing-fines-codes.patch (text/plain), 4.26 KB, created by
Owen Leonard
on 2014-06-27 18:23:40 UTC
(
hide
)
Description:
Bug 12429 [staff client] patron seeing fines codes
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-06-27 18:23:40 UTC
Size:
4.26 KB
patch
obsolete
>From bc7ea5264e44f1baaeebf77176373508df665f36 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 27 Jun 2014 14:21:03 -0400 >Subject: [PATCH] Bug 12429 [staff client] patron seeing fines codes >Content-Type: text/plain; charset="utf-8" > >Bug 2546 introduced translatable handling of Koha account type codes but >missed several codes. This patch adds handling of these codes to the >staff client. > >This patch also corrects a couple of instances of incorrect >capitalization. > >To test, apply the patch and view fines page (Patron details -> >Fines) and the pay fines page (Patron details -> Fines -> Pay fines). >You should not see any account type codes like CR, LR, or FU. >--- > .../prog/en/modules/members/boraccount.tt | 22 +++++++++++++------- > .../intranet-tmpl/prog/en/modules/members/pay.tt | 20 ++++++++++++------ > 2 files changed, 29 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 1debd29..3a29957 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -46,17 +46,25 @@ > <td>[% account.date %]</td> > <td> > [% SWITCH account.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 '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 %][% account.accounttype %] >+ [% 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 %][% line.accounttype %] > [%- END -%] > [%- IF account.description %], [% account.description %][% END %] > [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">View item</a> [% END %][% account.title |html %]</td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >index c35131d..7ba26d8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >@@ -115,16 +115,24 @@ function enableCheckboxActions(){ > </td> > <td> > [% SWITCH 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 '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 %][% line.accounttype %] > [%- END -%] > [%- IF line.description %], [% line.description %][% END %] >-- >1.7.9.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 12429
:
28867
|
29334
|
29369
|
29370
|
29389
|
29390
|
29531
|
29532