Lines 72-103
$(document).ready(function() {
Link Here
|
72 |
</tr> |
72 |
</tr> |
73 |
</thead> |
73 |
</thead> |
74 |
|
74 |
|
75 |
<!-- FIXME: Shouldn't hardcode dollar signs, since Euro or Pound might be needed --> |
|
|
76 |
[% FOREACH account IN accounts %] |
75 |
[% FOREACH account IN accounts %] |
77 |
|
76 |
|
78 |
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] |
77 |
[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %] |
79 |
<td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td> |
78 |
<td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td> |
80 |
<td> |
79 |
<td> |
81 |
[% SWITCH account.accounttype %] |
80 |
[% SWITCH account.accounttype %] |
82 |
[% CASE 'Pay' %]Payment, thanks |
81 |
[%- CASE 'Pay' -%]Payment, thanks |
83 |
[% CASE 'Pay00' %]Payment, thanks (cash via SIP2) |
82 |
[%- CASE 'Pay00' -%]Payment, thanks (cash via SIP2) |
84 |
[% CASE 'Pay01' %]Payment, thanks (VISA via SIP2) |
83 |
[%- CASE 'Pay01' -%]Payment, thanks (VISA via SIP2) |
85 |
[% CASE 'Pay02' %]Payment, thanks (credit card via SIP2) |
84 |
[%- CASE 'Pay02' -%]Payment, thanks (credit card via SIP2) |
86 |
[% CASE 'N' %]New card |
85 |
[%- CASE 'N' -%]New card |
87 |
[% CASE 'F' %]Fine, [% account.title %] |
86 |
[%- CASE 'F' -%]Fine |
88 |
[% CASE 'A' %]Account management fee |
87 |
[%- CASE 'A' -%]Account management fee |
89 |
[% CASE 'M' %]Sundry |
88 |
[%- CASE 'M' -%]Sundry |
90 |
[% CASE 'L' %]Lost |
89 |
[%- CASE 'L' -%]Lost |
91 |
[% CASE 'W' %]Writeoff |
90 |
[%- CASE 'W' -%]Writeoff |
92 |
[% CASE 'FU' %]Accruing fine |
91 |
[%- CASE 'FU' -%]Accruing fine |
93 |
[% CASE 'Rent' %]Rental fee |
92 |
[%- CASE 'Rent' -%]Rental fee |
94 |
[% CASE 'FOR' %]Forgiven |
93 |
[%- CASE 'FOR' -%]Forgiven |
95 |
[% CASE 'LR' %]Lost item fee refund |
94 |
[%- CASE 'LR' -%]Lost item fee refund |
96 |
[% CASE 'PAY' %]Payment |
95 |
[%- CASE 'PAY' -%]Payment |
97 |
[% CASE 'WO' %]Writeoff |
96 |
[%- CASE 'WO' -%]Writeoff |
98 |
[% CASE 'C' %]Credit |
97 |
[%- CASE 'C' -%]Credit |
99 |
[% CASE 'CR' %]Credit |
98 |
[%- CASE 'CR' -%]Credit |
100 |
[% CASE %][% account.accounttype %] |
99 |
[%- CASE -%][% account.accounttype %] |
101 |
[%- END -%] |
100 |
[%- END -%] |
102 |
[%- IF account.description %], [% account.description %][% END %] |
101 |
[%- IF account.description %], [% account.description %][% END %] |
103 |
[% 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> |
102 |
[% 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> |