Bugzilla – Attachment 67537 Details for
Bug 16486
Display the TIME a fine was collected/written off
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16486: Display the timestamp for account payments/writeoffs
Bug-16486-Display-the-timestamp-for-account-paymen.patch (text/plain), 3.21 KB, created by
Aleisha Amohia
on 2017-10-03 01:52:05 UTC
(
hide
)
Description:
Bug 16486: Display the timestamp for account payments/writeoffs
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2017-10-03 01:52:05 UTC
Size:
3.21 KB
patch
obsolete
>From 2730c6e9df6bc58272d8cd9cba6f3865f9dc8c28 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 18 Apr 2017 23:46:31 +0000 >Subject: [PATCH] Bug 16486: Display the timestamp for account > payments/writeoffs > >To test: >1) Apply patch >2) Go to the patron account page, Fines tab >3) Click Account tab >4) Confirm timestamp shows next to payments and writeoffs >5) Go to Admin -> TimeFormat syspref, change the format >6) Refresh the fines page, confirm time format changes > >Sponsored-by: Catalyst IT > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/modules/members/boraccount.tt | 14 +++++++------- > members/boraccount.pl | 2 ++ > 2 files changed, 9 insertions(+), 7 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 ec79237..aa6741b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -85,23 +85,23 @@ $(document).ready(function() { > <td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></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 'Pay' %]Payment on [% account.timestamp | $KohaDates with_hours => 1 %], thanks >+ [% CASE 'Pay00' %]Payment on [% account.timestamp | $KohaDates with_hours => 1 %], thanks (cash via SIP2) >+ [% CASE 'Pay01' %]Payment on [% account.timestamp | $KohaDates with_hours => 1 %], thanks (VISA via SIP2) >+ [% CASE 'Pay02' %]Payment on [% account.timestamp | $KohaDates with_hours => 1 %], 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 'W' %]Writeoff >+ [% CASE 'W' %]Written off on [% account.timestamp | $KohaDates with_hours => 1 %] > [% CASE 'FU' %]Accruing fine > [% CASE 'HE' %]Hold waiting too long > [% CASE 'Rent' %]Rental fee > [% CASE 'FOR' %]Forgiven > [% CASE 'LR' %]Lost item fee refund >- [% CASE 'PAY' %]Payment >- [% CASE 'WO' %]Writeoff >+ [% CASE 'PAY' %]Payment on [% account.timestamp | $KohaDates with_hours => 1 %] >+ [% CASE 'WO' %]Written off on [% account.timestamp | $KohaDates with_hours => 1 %] > [% CASE 'C' %]Credit > [% CASE 'CR' %]Credit > [% CASE %][% account.accounttype %] >diff --git a/members/boraccount.pl b/members/boraccount.pl >index e7d769e..3eda807 100755 >--- a/members/boraccount.pl >+++ b/members/boraccount.pl >@@ -32,6 +32,8 @@ use C4::Members; > use C4::Accounts; > use C4::Members::Attributes qw(GetBorrowerAttributes); > use Koha::Patrons; >+use Koha::Patron::Images; >+>>>>>>> Bug 16486: Display the timestamp for account payments/writeoffs > use Koha::Patron::Categories; > > my $input=new CGI; >-- >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 16486
:
62343
|
62703
|
62995
|
66826
|
66827
|
67537
|
67538
|
68302
|
68303
|
68304
|
68316
|
70578
|
70579
|
70580
|
70582
|
70583
|
70650
|
70687
|
70688
|
70689
|
70690
|
70691
|
71870
|
74045
|
74046
|
74047
|
103534
|
103938
|
117232
|
117233
|
117348
|
120479
|
120485