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 148-153
function moneyFormat(textObj) {
Link Here
|
148 |
<!-- default to paying all --> |
149 |
<!-- default to paying all --> |
149 |
<input name="paid" id="paid" value="[% amountoutstanding | format('%.2f') %]" /> |
150 |
<input name="paid" id="paid" value="[% amountoutstanding | format('%.2f') %]" /> |
150 |
</li> |
151 |
</li> |
|
|
152 |
[% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] |
153 |
[% IF payment_types %] |
154 |
<li> |
155 |
<label for="payment_type">Payment type: </label> |
156 |
<select name="payment_type" id="payment_type>"> |
157 |
<option value=""></option> |
158 |
[% FOREACH pt IN payment_types %] |
159 |
<option value="[% pt.authorised_value %]">[% pt.lib %]</option> |
160 |
[% END %] |
161 |
</select> |
162 |
</li> |
163 |
[% END %] |
151 |
</ol> |
164 |
</ol> |
152 |
</fieldset> |
165 |
</fieldset> |
153 |
|
166 |
|
Lines 213-222
function moneyFormat(textObj) {
Link Here
|
213 |
<!-- default to paying all --> |
226 |
<!-- default to paying all --> |
214 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
227 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
215 |
</li> |
228 |
</li> |
|
|
229 |
[% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] |
230 |
[% IF payment_types %] |
231 |
<li> |
232 |
<label for="payment_type">Payment type: </label> |
233 |
<select name="payment_type" id="payment_type>"> |
234 |
<option value=""></option> |
235 |
[% FOREACH pt IN payment_types %] |
236 |
<option value="[% pt.authorised_value %]">[% pt.lib %]</option> |
237 |
[% END %] |
238 |
</select> |
239 |
</li> |
240 |
[% END %] |
216 |
<li> |
241 |
<li> |
217 |
<label for="selected_accts_notes">Note: </label> |
242 |
<label for="selected_accts_notes">Note: </label> |
218 |
<textarea name="selected_accts_notes" id="selected_accts_notes">[% selected_accts_notes %]</textarea> |
243 |
<textarea name="selected_accts_notes" id="selected_accts_notes">[% selected_accts_notes %]</textarea> |
219 |
</li> |
244 |
</li> |
|
|
245 |
[% IF payment_types.count %] |
246 |
<li> |
247 |
<label for="payment_type">Payment type: </label> |
248 |
<select name="payment_type" id="payment_type>"> |
249 |
<option value=""></option> |
250 |
[% FOREACH pt IN payment_types %] |
251 |
<option value="[% pt.authorised_value %]">[% pt.lib %]</option> |
252 |
[% END %] |
253 |
</select> |
254 |
</li> |
255 |
[% END %] |
220 |
</ol> |
256 |
</ol> |
221 |
</fieldset> |
257 |
</fieldset> |
222 |
<div class="action"><input type="submit" name="submitbutton" value="Confirm" /> |
258 |
<div class="action"><input type="submit" name="submitbutton" value="Confirm" /> |