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