Lines 39-64
Link Here
|
39 |
<th>Print</th> |
39 |
<th>Print</th> |
40 |
</tr> |
40 |
</tr> |
41 |
|
41 |
|
42 |
<!-- FIXME: Shouldn't hardcode dollar signs, since Euro or Pound might be needed --> |
|
|
43 |
[% FOREACH account IN accounts %] |
42 |
[% FOREACH account IN accounts %] |
44 |
|
43 |
|
45 |
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] |
44 |
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] |
46 |
<td>[% account.date %]</td> |
45 |
<td>[% account.date %]</td> |
47 |
<td> |
46 |
<td> |
48 |
[% SWITCH account.accounttype %] |
47 |
[% SWITCH account.accounttype %] |
49 |
[% CASE 'Pay' %]Payment,thanks |
48 |
[%- CASE 'Pay' -%]Payment, thanks |
50 |
[% CASE 'Pay00' %]Payment,thanks (cash via SIP2) |
49 |
[%- CASE 'Pay00' -%]Payment, thanks (cash via SIP2) |
51 |
[% CASE 'Pay01' %]Payment,thanks (VISA via SIP2) |
50 |
[%- CASE 'Pay01' -%]Payment, thanks (VISA via SIP2) |
52 |
[% CASE 'Pay02' %]Payment,thanks (credit card via SIP2) |
51 |
[%- CASE 'Pay02' -%]Payment, thanks (credit card via SIP2) |
53 |
[% CASE 'N' %]New Card |
52 |
[%- CASE 'N' -%]New Card |
54 |
[% CASE 'F' %]Fine, [% account.title %] |
53 |
[%- CASE 'F' -%]Fine |
55 |
[% CASE 'A' %]Account management fee |
54 |
[%- CASE 'FU' -%]Accrued fine |
56 |
[% CASE 'M' %]Sundry |
55 |
[%- CASE 'A' -%]Account management fee |
57 |
[% CASE 'L' %]Lost |
56 |
[%- CASE 'M' -%]Sundry |
58 |
[% CASE 'W' %]Writeoff |
57 |
[%- CASE 'L' -%]Lost |
59 |
[% CASE %][% account.accounttype %] |
58 |
[%- CASE 'W' -%]Writeoff |
60 |
[%- END -%] |
59 |
[%- CASE 'Rent' -%]Rental |
61 |
[%- IF account.description %], [% account.description %][% END %] |
60 |
[%- CASE -%][% account.accounttype %] |
|
|
61 |
[%- END -%][% IF account.description %], [% account.description %][% END %] |
62 |
[% IF ( account.itemnumber ) %]<a title="[% account.title %]" href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">View item</a> [% END %]</td> |
62 |
[% IF ( account.itemnumber ) %]<a title="[% account.title %]" href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">View item</a> [% END %]</td> |
63 |
<td>[% account.note | html_line_break %]</td> |
63 |
<td>[% account.note | html_line_break %]</td> |
64 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |
64 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |