Lines 55-84
Link Here
|
55 |
<tr> |
55 |
<tr> |
56 |
<td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td> |
56 |
<td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td> |
57 |
<td> |
57 |
<td> |
58 |
[% SWITCH account.accounttype %] |
58 |
[% INCLUDE 'accounttype.inc' accountline => account %] |
59 |
[% CASE 'Pay' %]Payment, thanks |
|
|
60 |
[% CASE 'Pay00' %]Payment, thanks (cash via SIP2) |
61 |
[% CASE 'Pay01' %]Payment, thanks (VISA via SIP2) |
62 |
[% CASE 'Pay02' %]Payment, thanks (credit card via SIP2) |
63 |
[% CASE 'VOID' %]Payment, Voided |
64 |
[% CASE 'N' %]New card |
65 |
[% CASE 'F' %]Fine |
66 |
[% CASE 'A' %]Account management fee |
67 |
[% CASE 'M' %]Sundry |
68 |
[% CASE 'L' %]Lost item |
69 |
[% CASE 'W' %]Writeoff |
70 |
[% CASE 'FU' %]Accruing fine |
71 |
[% CASE 'HE' %]Hold waiting too long |
72 |
[% CASE 'Rent' %]Rental fee |
73 |
[% CASE 'FOR' %]Forgiven |
74 |
[% CASE 'LR' %]Lost item fee refund |
75 |
[% CASE 'PF' %]Processing fee |
76 |
[% CASE 'PAY' %]Payment |
77 |
[% CASE 'WO' %]Writeoff |
78 |
[% CASE 'C' %]Credit |
79 |
[% CASE 'CR' %]Credit |
80 |
[% CASE %][% account.accounttype %] |
81 |
[%- END -%] |
82 |
[%- IF account.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) %][% END %] |
59 |
[%- IF account.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) %][% END %] |
83 |
[%- IF account.description %], [% account.description %][% END %] |
60 |
[%- IF account.description %], [% account.description %][% END %] |
84 |
[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% account.title |html %]</a>[% END %]</td> |
61 |
[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% account.title |html %]</a>[% END %]</td> |
Lines 91-96
Link Here
|
91 |
[% ELSE %] |
68 |
[% ELSE %] |
92 |
<a target="_blank" href="printinvoice.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print</a> |
69 |
<a target="_blank" href="printinvoice.pl?action=print&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-default btn-xs"><i class="fa fa-print"></i> Print</a> |
93 |
[% END %] |
70 |
[% END %] |
|
|
71 |
<a href="accountline-details.pl?accountlines_id=[% account.accountlines_id %]" class="btn btn-default btn-xs"><i class="fa fa-list"></i> Details</a> |
94 |
[% IF ( reverse_col) %] |
72 |
[% IF ( reverse_col) %] |
95 |
[% IF ( account.payment ) %] |
73 |
[% IF ( account.payment ) %] |
96 |
<a href="boraccount.pl?action=reverse&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-default btn-xs"><i class="fa fa-undo"></i> Reverse</a> |
74 |
<a href="boraccount.pl?action=reverse&accountlines_id=[% account.accountlines_id %]&borrowernumber=[% account.borrowernumber %]" class="btn btn-default btn-xs"><i class="fa fa-undo"></i> Reverse</a> |