|
Lines 1-5
Link Here
|
| 1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
| 2 |
[% USE Branches %] |
2 |
[% USE Branches %] |
|
|
3 |
[% USE AuthorisedValues %] |
| 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 85-90
Link Here
|
| 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 %]" /> |
| 87 |
</li> |
88 |
</li> |
|
|
89 |
[% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] |
| 90 |
[% IF payment_types %] |
| 91 |
<li> |
| 92 |
<label for="payment_type">Payment type: </label> |
| 93 |
<select name="payment_type" id="payment_type"> |
| 94 |
<option value=""></option> |
| 95 |
[% FOREACH pt IN payment_types %] |
| 96 |
<option value="[% pt.authorised_value %]">[% pt.lib %]</option> |
| 97 |
[% END %] |
| 98 |
</select> |
| 99 |
</li> |
| 100 |
[% END %] |
| 88 |
</ol> |
101 |
</ol> |
| 89 |
</fieldset> |
102 |
</fieldset> |
| 90 |
|
103 |
|
|
Lines 152-161
Link Here
|
| 152 |
<!-- default to paying all --> |
165 |
<!-- default to paying all --> |
| 153 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
166 |
<input name="paid" id="paid" value="[% total | format('%.2f') %]" /> |
| 154 |
</li> |
167 |
</li> |
|
|
168 |
[% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] |
| 169 |
[% IF payment_types %] |
| 170 |
<li> |
| 171 |
<label for="payment_type">Payment type: </label> |
| 172 |
<select name="payment_type" id="payment_type"> |
| 173 |
<option value=""></option> |
| 174 |
[% FOREACH pt IN payment_types %] |
| 175 |
<option value="[% pt.authorised_value %]">[% pt.lib %]</option> |
| 176 |
[% END %] |
| 177 |
</select> |
| 178 |
</li> |
| 179 |
[% END %] |
| 155 |
<li> |
180 |
<li> |
| 156 |
<label for="selected_accts_notes">Note: </label> |
181 |
<label for="selected_accts_notes">Note: </label> |
| 157 |
<textarea name="selected_accts_notes" id="selected_accts_notes">[% selected_accts_notes %]</textarea> |
182 |
<textarea name="selected_accts_notes" id="selected_accts_notes">[% selected_accts_notes %]</textarea> |
| 158 |
</li> |
183 |
</li> |
|
|
184 |
[% IF payment_types.count %] |
| 185 |
<li> |
| 186 |
<label for="payment_type">Payment type: </label> |
| 187 |
<select name="payment_type" id="payment_type"> |
| 188 |
<option value=""></option> |
| 189 |
[% FOREACH pt IN payment_types %] |
| 190 |
<option value="[% pt.authorised_value %]">[% pt.lib %]</option> |
| 191 |
[% END %] |
| 192 |
</select> |
| 193 |
</li> |
| 194 |
[% END %] |
| 159 |
</ol> |
195 |
</ol> |
| 160 |
</fieldset> |
196 |
</fieldset> |
| 161 |
<div class="action"><input type="submit" name="submitbutton" value="Confirm" /> |
197 |
<div class="action"><input type="submit" name="submitbutton" value="Confirm" /> |