Lines 9-14
Link Here
|
9 |
[% IF Koha.Preference('UseCashRegisters') || Koha.Preference('RequirePaymentType') %] |
9 |
[% IF Koha.Preference('UseCashRegisters') || Koha.Preference('RequirePaymentType') %] |
10 |
<label for="[% type | html %]_type" class="required">[% IF type == 'payment' %]Payment[% ELSE %]Transaction[% END %] type: </label> |
10 |
<label for="[% type | html %]_type" class="required">[% IF type == 'payment' %]Payment[% ELSE %]Transaction[% END %] type: </label> |
11 |
<select name="[% type | html %]_type" id="[% type | html %]_type" class="required" required="required"> |
11 |
<select name="[% type | html %]_type" id="[% type | html %]_type" class="required" required="required"> |
|
|
12 |
<option value="">None selected</option> |
12 |
[% IF type == 'refund' %] |
13 |
[% IF type == 'refund' %] |
13 |
<option value="AC">Account credit</option> |
14 |
<option value="AC">Account credit</option> |
14 |
[% END %] |
15 |
[% END %] |
Lines 20-26
Link Here
|
20 |
[%- ELSE -%] |
21 |
[%- ELSE -%] |
21 |
<label for="[% type | html %]_type">[% IF type == 'payment' %]Payment[% ELSE %]Transaction[% END %] type: </label> |
22 |
<label for="[% type | html %]_type">[% IF type == 'payment' %]Payment[% ELSE %]Transaction[% END %] type: </label> |
22 |
<select name="[% type | html %]_type" id="[% type | html %]_type"> |
23 |
<select name="[% type | html %]_type" id="[% type | html %]_type"> |
23 |
<option value=""></option> |
24 |
<option value="">None selected</option> |
24 |
[% IF type == 'refund' %] |
25 |
[% IF type == 'refund' %] |
25 |
<option value="AC">Account credit</option> |
26 |
<option value="AC">Account credit</option> |
26 |
[% END %] |
27 |
[% END %] |
27 |
- |
|
|