View | Details | Raw Unified | Return to bug 14926
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt (-1 / +2 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE KohaDates %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Print Receipt for [% cardnumber %]</title>
4
<title>Print Receipt for [% cardnumber %]</title>
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Lines 42-48 Link Here
42
43
43
  [% FOREACH account IN accounts %]
44
  [% FOREACH account IN accounts %]
44
<tr class="highlight">
45
<tr class="highlight">
45
      <td>[% account.date %]</td>
46
      <td>[% account.date | $KohaDates %]</td>
46
      <td>
47
      <td>
47
        [% SWITCH account.accounttype %]
48
        [% SWITCH account.accounttype %]
48
          [% CASE 'Pay' %]Payment, thanks
49
          [% CASE 'Pay' %]Payment, thanks
(-)a/members/printfeercpt.pl (-2 / +2 lines)
Lines 89-95 for (my $i=0;$i<$numaccts;$i++){ Link Here
89
    if($accts->[$i]{'amountoutstanding'} <= 0){
89
    if($accts->[$i]{'amountoutstanding'} <= 0){
90
        $accts->[$i]{'amountoutstandingcredit'} = 1;
90
        $accts->[$i]{'amountoutstandingcredit'} = 1;
91
    }
91
    }
92
    my %row = ( 'date'              => output_pref({ dt => dt_from_string( $accts->[$i]{'date'} ), dateformat => 'iso', dateonly => 1 }),
92
93
    my %row = ( 'date'         => dt_from_string( $accts->[$i]{'date'} ),
93
                'amountcredit' => $accts->[$i]{'amountcredit'},
94
                'amountcredit' => $accts->[$i]{'amountcredit'},
94
                'amountoutstandingcredit' => $accts->[$i]{'amountoutstandingcredit'},
95
                'amountoutstandingcredit' => $accts->[$i]{'amountoutstandingcredit'},
95
                'toggle' => $accts->[$i]{'toggle'},
96
                'toggle' => $accts->[$i]{'toggle'},
96
- 

Return to bug 14926