@@ -, +, @@
places
---
koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt | 2 +-
koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt | 3 ++-
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt | 2 +-
members/printfeercpt.pl | 2 +-
members/printinvoice.pl | 2 +-
5 files changed, 6 insertions(+), 5 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt
@@ -43,7 +43,7 @@
[% FOREACH account IN accounts %]
- [% account.date | $KohaDates %] |
+ [% account.timestamp | $KohaDates with_hours => 1 %] |
[% SWITCH account.accounttype %]
[% CASE 'Pay' %]Payment, thanks
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt
@@ -1,4 +1,5 @@
[% USE Koha %]
+[% USE KohaDates %]
[% INCLUDE 'doc-head-open.inc' %]
Print receipt for [% cardnumber %]
[% INCLUDE 'doc-head-close.inc' %]
@@ -43,7 +44,7 @@
[% FOREACH account IN accounts %]
|
- [% account.date %] |
+ [% account.timestamp | $KohaDates with_hours => 1 %] |
[% SWITCH account.accounttype %]
[% CASE 'Pay' %]Payment, thanks
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt
@@ -102,7 +102,7 @@
[% END %]
|
[% END %]
- [% ACCOUNT_LINE.date | $KohaDates %] |
+ [% ACCOUNT_LINE.timestamp | $KohaDates with_hours => 1 %] |
[% SWITCH ACCOUNT_LINE.accounttype %]
[% CASE 'Pay' %]Payment, thanks
--- a/members/printfeercpt.pl
+++ a/members/printfeercpt.pl
@@ -97,7 +97,7 @@ for (my $i=0;$i<$numaccts;$i++){
$accts->[$i]{'amountoutstandingcredit'} = 1;
}
- my %row = ( 'date' => dt_from_string( $accts->[$i]{'date'} ),
+ my %row = ( 'timestamp' => $accts->[$i]{'timestamp'},
'amountcredit' => $accts->[$i]{'amountcredit'},
'amountoutstandingcredit' => $accts->[$i]{'amountoutstandingcredit'},
'toggle' => $accts->[$i]{'toggle'},
--- a/members/printinvoice.pl
+++ a/members/printinvoice.pl
@@ -97,7 +97,7 @@ for ( my $i = 0 ; $i < $numaccts ; $i++ ) {
}
my %row = (
- 'date' => output_pref({ dt => dt_from_string( $accts->[$i]{'date'} ), dateonly => 1 }),
+ 'timestamp' => $accts->[$i]{'timestamp'},
'amountcredit' => $accts->[$i]{'amountcredit'},
'amountoutstandingcredit' => $accts->[$i]{'amountoutstandingcredit'},
'toggle' => $accts->[$i]{'toggle'},
--
|