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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt (-1 / +2 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Branches %]
2
[% USE Branches %]
3
[% USE KohaDates %]
3
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Print receipt for [% patron.cardnumber %]</title>
6
<title>Print receipt for [% patron.cardnumber %]</title>
Lines 45-51 Link Here
45
46
46
  [% FOREACH account IN accounts %]
47
  [% FOREACH account IN accounts %]
47
<tr class="highlight">
48
<tr class="highlight">
48
      <td>[% account.date %]</td>
49
      <td>[% account.date | $KohaDates%]</td>
49
       <td>
50
       <td>
50
        [% SWITCH account.accounttype %]
51
        [% SWITCH account.accounttype %]
51
          [% CASE 'Pay' %]Payment, thanks
52
          [% CASE 'Pay' %]Payment, thanks
(-)a/members/printinvoice.pl (-2 / +1 lines)
Lines 80-86 if ( $accountline->{'amountoutstanding'} <= 0 ) { Link Here
80
}
80
}
81
81
82
my %row = (
82
my %row = (
83
    'date'                    => dt_from_string( $accountline->{'date'}, dateonly => 1 ),
83
    'date'                    => dt_from_string( $accountline->{'date'} ),
84
    'amountcredit'            => $accountline->{'amountcredit'},
84
    'amountcredit'            => $accountline->{'amountcredit'},
85
    'amountoutstandingcredit' => $accountline->{'amountoutstandingcredit'},
85
    'amountoutstandingcredit' => $accountline->{'amountoutstandingcredit'},
86
    'description'             => $accountline->{'description'},
86
    'description'             => $accountline->{'description'},
87
- 

Return to bug 12001