Lines 2-7
Link Here
|
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
4 |
[% USE Branches %] |
4 |
[% USE Branches %] |
|
|
5 |
[% USE Registers %] |
5 |
[% USE Price %] |
6 |
[% USE Price %] |
6 |
[% SET footerjs = 1 %] |
7 |
[% SET footerjs = 1 %] |
7 |
[% PROCESS 'payments.inc' %] |
8 |
[% PROCESS 'payments.inc' %] |
Lines 20-25
Link Here
|
20 |
[% END %] |
21 |
[% END %] |
21 |
</div> |
22 |
</div> |
22 |
[% END %] |
23 |
[% END %] |
|
|
24 |
[% SET registers = Registers.all( filters => { current_branch => 1 } ) %] |
23 |
<title>Koha › Patrons › |
25 |
<title>Koha › Patrons › |
24 |
[% IF type == 'WRITEOFF' %] |
26 |
[% IF type == 'WRITEOFF' %] |
25 |
Write off an amount for [% patron.firstname | html %] [% patron.surname | html %] |
27 |
Write off an amount for [% patron.firstname | html %] [% patron.surname | html %] |
Lines 153-165
Link Here
|
153 |
<li> |
155 |
<li> |
154 |
<label for="cash_register">Cash register: </label> |
156 |
<label for="cash_register">Cash register: </label> |
155 |
<select name="cash_register" id="cash_register"> |
157 |
<select name="cash_register" id="cash_register"> |
156 |
[% FOREACH register IN registers %] |
158 |
[% PROCESS options_for_registers register_required => 1 %] |
157 |
[% IF register.id == default_register %] |
|
|
158 |
<option value="[% register.id | html %]" selected="selected">[% register.name | html %]</option> |
159 |
[% ELSE %] |
160 |
<option value="[% register.id | html %]">[% register.name | html %]</option> |
161 |
[% END %] |
162 |
[% END %] |
163 |
</select> |
159 |
</select> |
164 |
</li> |
160 |
</li> |
165 |
[% END %] |
161 |
[% END %] |
Lines 289-301
Link Here
|
289 |
<li> |
285 |
<li> |
290 |
<label for="cash_register">Cash register: </label> |
286 |
<label for="cash_register">Cash register: </label> |
291 |
<select name="cash_register" id="cash_register"> |
287 |
<select name="cash_register" id="cash_register"> |
292 |
[% FOREACH register IN registers %] |
288 |
[% PROCESS options_for_registers register_required => 1 %] |
293 |
[% IF register.id == default_register %] |
|
|
294 |
<option value="[% register.id | html %]" selected="selected">[% register.name | html %]</option> |
295 |
[% ELSE %] |
296 |
<option value="[% register.id | html %]">[% register.name | html %]</option> |
297 |
[% END %] |
298 |
[% END %] |
299 |
</select> |
289 |
</select> |
300 |
</li> |
290 |
</li> |
301 |
[% END %] |
291 |
[% END %] |