Lines 1-5
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
|
|
3 |
[% USE Price %] |
3 |
[% SET footerjs = 1 %] |
4 |
[% SET footerjs = 1 %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Patrons › Collect fine payment for [% patron.firstname %] [% patron.surname %]</title> |
6 |
<title>Koha › Patrons › Collect fine payment for [% patron.firstname %] [% patron.surname %]</title> |
Lines 38-44
Link Here
|
38 |
<div class="tabs-container"> |
39 |
<div class="tabs-container"> |
39 |
[% IF ( error_over ) %] |
40 |
[% IF ( error_over ) %] |
40 |
<div id="error_message" class="dialog alert"> |
41 |
<div id="error_message" class="dialog alert"> |
41 |
You must pay a value less than or equal to [% total_due | format('%.2f') %]. |
42 |
You must pay a value less than or equal to [% total_due | $Price %]. |
42 |
</div> |
43 |
</div> |
43 |
[% END %] |
44 |
[% END %] |
44 |
|
45 |
|
Lines 66-80
Link Here
|
66 |
<th>Amount outstanding</th> |
67 |
<th>Amount outstanding</th> |
67 |
</tr></thead> |
68 |
</tr></thead> |
68 |
<tfoot> |
69 |
<tfoot> |
69 |
<td colspan="3">Total amount payable:</td><td>[% amountoutstanding | format('%.2f') %]</td> |
70 |
<td colspan="3">Total amount payable:</td><td>[% amountoutstanding | $Price %]</td> |
70 |
</tfoot> |
71 |
</tfoot> |
71 |
<tbody><tr> |
72 |
<tbody><tr> |
72 |
<td> |
73 |
<td> |
73 |
[% individual_description %] |
74 |
[% individual_description %] |
74 |
</td> |
75 |
</td> |
75 |
<td>[% accounttype %]</td> |
76 |
<td>[% accounttype %]</td> |
76 |
<td class="debit">[% amount | format('%.2f') %]</td> |
77 |
<td class="debit">[% amount | $Price %]</td> |
77 |
<td class="debit">[% amountoutstanding | format('%.2f') %]</td> |
78 |
<td class="debit">[% amountoutstanding | $Price %]</td> |
78 |
</tr></tbody> |
79 |
</tr></tbody> |
79 |
</table> |
80 |
</table> |
80 |
|
81 |
|
Lines 83-89
Link Here
|
83 |
<li> |
84 |
<li> |
84 |
<label for="paid">Collect from patron: </label> |
85 |
<label for="paid">Collect from patron: </label> |
85 |
<!-- default to paying all --> |
86 |
<!-- default to paying all --> |
86 |
<input name="paid" id="paid" value="[% amountoutstanding %]" /> |
87 |
<input name="paid" id="paid" value="[% amountoutstanding | $Price on_editing => 1 %]" /> |
87 |
</li> |
88 |
</li> |
88 |
</ol> |
89 |
</ol> |
89 |
</fieldset> |
90 |
</fieldset> |
Lines 112-123
Link Here
|
112 |
<th>Amount</th> |
113 |
<th>Amount</th> |
113 |
<th>Amount outstanding</th> |
114 |
<th>Amount outstanding</th> |
114 |
</tr></thead> |
115 |
</tr></thead> |
115 |
<tfoot><td colspan="3">Total amount outstanding:</td><td>[% amountoutstanding | format('%.2f') %]</td></tfoot> |
116 |
<tfoot><td colspan="3">Total amount outstanding:</td><td>[% amountoutstanding | $Price %]</td></tfoot> |
116 |
<tbody><tr> |
117 |
<tbody><tr> |
117 |
<td>[% description %] [% title %]</td> |
118 |
<td>[% description %] [% title %]</td> |
118 |
<td>[% accounttype %]</td> |
119 |
<td>[% accounttype %]</td> |
119 |
<td class="debit">[% amount | format('%.2f') %]</td> |
120 |
<td class="debit">[% amount | $Price %]</td> |
120 |
<td class="debit">[% amountoutstanding | format('%.2f') %]</td> |
121 |
<td class="debit">[% amountoutstanding | $Price %]</td> |
121 |
</tr></tbody> |
122 |
</tr></tbody> |
122 |
</table> |
123 |
</table> |
123 |
|
124 |
|
Lines 125-131
Link Here
|
125 |
<li> |
126 |
<li> |
126 |
<label for="paid">Writeoff amount: </label> |
127 |
<label for="paid">Writeoff amount: </label> |
127 |
<!-- default to writing off all --> |
128 |
<!-- default to writing off all --> |
128 |
<input name="amountwrittenoff" id="amountwrittenoff" value="[% amountoutstanding %]" /> |
129 |
<input name="amountwrittenoff" id="amountwrittenoff" value="[% amountoutstanding | $Price on_editing => 1 %]" /> |
129 |
</li> |
130 |
</li> |
130 |
</ol> |
131 |
</ol> |
131 |
</fieldset> |
132 |
</fieldset> |
Lines 145-156
Link Here
|
145 |
<ol> |
146 |
<ol> |
146 |
<li> |
147 |
<li> |
147 |
<span class="label">Total amount outstanding: </span> |
148 |
<span class="label">Total amount outstanding: </span> |
148 |
<span class="debit">[% total | format('%.2f') %]</span> |
149 |
<span class="debit">[% total | $Price %]</span> |
149 |
</li> |
150 |
</li> |
150 |
<li> |
151 |
<li> |
151 |
<label for="paid">Collect from patron: </label> |
152 |
<label for="paid">Collect from patron: </label> |
152 |
<!-- default to paying all --> |
153 |
<!-- default to paying all --> |
153 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
154 |
<input name="paid" id="paid" value="[% total | $Price on_editing => 1 %]" /> |
154 |
</li> |
155 |
</li> |
155 |
<li> |
156 |
<li> |
156 |
<label for="selected_accts_notes">Note: </label> |
157 |
<label for="selected_accts_notes">Note: </label> |
157 |
- |
|
|