@@ -, +, @@
payments/writeoffs
---
.../intranet-tmpl/prog/en/modules/members/boraccount.tt | 14 +++++++-------
members/boraccount.pl | 3 ++-
2 files changed, 9 insertions(+), 8 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
@@ -85,23 +85,23 @@ $(document).ready(function() {
[% account.date |$KohaDates %] |
[% 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 %], thanks
+ [% CASE 'Pay00' %]Payment on [% account.timestamp %], thanks (cash via SIP2)
+ [% CASE 'Pay01' %]Payment on [% account.timestamp %], thanks (VISA via SIP2)
+ [% CASE 'Pay02' %]Payment on [% account.timestamp %], 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 %]
[% 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 %]
+ [% CASE 'WO' %]Written off on [% account.timestamp %]
[% CASE 'C' %]Credit
[% CASE 'CR' %]Credit
[% CASE %][% account.accounttype %]
--- a/members/boraccount.pl
+++ a/members/boraccount.pl
@@ -32,7 +32,7 @@ use C4::Members;
use C4::Accounts;
use C4::Members::Attributes qw(GetBorrowerAttributes);
use Koha::Patron::Images;
-
+use Koha::DateUtils;
use Koha::Patron::Categories;
my $input=new CGI;
@@ -90,6 +90,7 @@ foreach my $accountline ( @{$accts}) {
$accountline->{payment} = 1;
$reverse_col = 1;
}
+ $accountline->{timestamp} = format_sqldatetime( $accountline->{timestamp} );
}
$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
--
|