Lines 1-5
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
|
|
3 |
[% USE AuthorisedValues %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
<title>Koha › Patrons › Collect fine payment for [% borrower.firstname %] [% borrower.surname %]</title> |
5 |
<title>Koha › Patrons › Collect fine payment for [% borrower.firstname %] [% borrower.surname %]</title> |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 147-152
function moneyFormat(textObj) {
Link Here
|
147 |
<!-- default to paying all --> |
148 |
<!-- default to paying all --> |
148 |
<input name="paid" id="paid" value="[% amountoutstanding | format('%.2f') %]" /> |
149 |
<input name="paid" id="paid" value="[% amountoutstanding | format('%.2f') %]" /> |
149 |
</li> |
150 |
</li> |
|
|
151 |
<li> |
152 |
<label for="paymentmode">Payment mode: </label> |
153 |
<select name="paymentmode" id="paymentmode"> |
154 |
[% FOREACH paymentmode IN AuthorisedValues.GetAuthValueDropbox('PAYMODE') %] |
155 |
<option value="[% paymentmode.authorised_value %]">[% paymentmode.lib %]</option> |
156 |
[% END %] |
157 |
</select> |
158 |
</li> |
150 |
</ol> |
159 |
</ol> |
151 |
</fieldset> |
160 |
</fieldset> |
152 |
|
161 |
|
Lines 206-220
function moneyFormat(textObj) {
Link Here
|
206 |
<span class="label">Total amount outstanding: </span> |
215 |
<span class="label">Total amount outstanding: </span> |
207 |
<span class="debit">[% total | format('%.2f') %]</span> |
216 |
<span class="debit">[% total | format('%.2f') %]</span> |
208 |
</li> |
217 |
</li> |
209 |
<li> |
218 |
<li> |
210 |
<label for="paid">Collect from patron: </label> |
219 |
<label for="paid">Collect from patron: </label> |
211 |
<!-- default to paying all --> |
220 |
<!-- default to paying all --> |
212 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
221 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
213 |
</li> |
222 |
</li> |
214 |
<li> |
223 |
<li> |
|
|
224 |
<label for="paymentmode">Payment mode: </label> |
225 |
<select name="paymentmode" id="paymentmode"> |
226 |
[% FOREACH paymentmode IN AuthorisedValues.GetAuthValueDropbox('PAYMODE') %] |
227 |
<option value="[% paymentmode.authorised_value %]">[% paymentmode.lib %]</option> |
228 |
[% END %] |
229 |
</select> |
230 |
</li> |
231 |
<li> |
215 |
<label for="selected_accts_notes">Note: </label> |
232 |
<label for="selected_accts_notes">Note: </label> |
216 |
<textarea name="selected_accts_notes" id="selected_accts_notes">[% selected_accts_notes %]</textarea> |
233 |
<textarea name="selected_accts_notes" id="selected_accts_notes">[% selected_accts_notes %]</textarea> |
217 |
</li> |
234 |
</li> |
218 |
</ol> |
235 |
</ol> |
219 |
</fieldset> |
236 |
</fieldset> |
220 |
<div class="action"><input type="submit" name="submitbutton" value="Confirm" /> |
237 |
<div class="action"><input type="submit" name="submitbutton" value="Confirm" /> |