|
Lines 1-6
Link Here
|
| 1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
| 2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
| 3 |
[% USE KohaDates %] |
3 |
[% USE KohaDates %] |
|
|
4 |
[% USE Price %] |
| 4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
| 5 |
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title> |
6 |
<title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title> |
| 6 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
|
Lines 93-100
Link Here
|
| 93 |
[% END %] |
94 |
[% END %] |
| 94 |
</table> |
95 |
</table> |
| 95 |
[% END %] |
96 |
[% END %] |
| 96 |
|
97 |
[% IF accounts && ( totaldue < 0 || totaldue > 0 ) %] |
| 97 |
[% IF ( accounts && ( totaldue != '0.00' ) ) %] |
|
|
| 98 |
<table> |
98 |
<table> |
| 99 |
<caption>Account fines and payments</caption> |
99 |
<caption>Account fines and payments</caption> |
| 100 |
<tr> |
100 |
<tr> |
|
Lines 105-127
Link Here
|
| 105 |
</tr> |
105 |
</tr> |
| 106 |
|
106 |
|
| 107 |
[% FOREACH account IN accounts %] |
107 |
[% FOREACH account IN accounts %] |
| 108 |
[% NEXT IF account.amountoutstanding == '0.00' %] |
108 |
[% IF ( account.amountoutstanding < 0 ) || ( account.amountoutstanding > 0 ) %] |
| 109 |
<tr> |
109 |
<tr> |
| 110 |
<td> |
110 |
<td> |
| 111 |
[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% END %] |
111 |
[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% END %] |
| 112 |
[% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] |
112 |
[% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %] |
| 113 |
[% IF ( account.itemnumber ) %]</a>[% END %] |
113 |
[% IF ( account.itemnumber ) %]</a>[% END %] |
| 114 |
</td> |
114 |
</td> |
| 115 |
<td>[% account.date | $KohaDates %]</td> |
115 |
<td>[% account.date | $KohaDates %]</td> |
| 116 |
<td>[% account.amount %]</td> |
116 |
<td style="text-align:right;">[% account.amount | $Price %]</td> |
| 117 |
<td>[% account.amountoutstanding %]</td> |
117 |
<td style="text-align:right;">[% account.amountoutstanding | $Price %]</td> |
| 118 |
</tr> |
118 |
</tr> |
|
|
119 |
[% END %] |
| 119 |
[% END %] |
120 |
[% END %] |
| 120 |
|
121 |
|
| 121 |
<tfoot> |
122 |
<tfoot> |
| 122 |
<tr> |
123 |
<tr> |
| 123 |
<td colspan="3">Total due</td> |
124 |
<td colspan="3">Total due</td> |
| 124 |
<td colspan="2">[% totaldue %]</td> |
125 |
<td colspan="2" style="text-align:right;">[% totaldue | $Price %]</td> |
| 125 |
</tr> |
126 |
</tr> |
| 126 |
</tfoot> |
127 |
</tfoot> |
| 127 |
</table> |
128 |
</table> |