Lines 7-14
Link Here
|
7 |
[% IF payment_types.size > 0 %] |
7 |
[% IF payment_types.size > 0 %] |
8 |
<li> |
8 |
<li> |
9 |
[% IF Koha.Preference('UseCashRegisters') %] |
9 |
[% IF Koha.Preference('UseCashRegisters') %] |
10 |
<label for="[% type %]_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 %]_type" id="[% type %]_type" class="required" required="required"> |
11 |
<select name="[% type | html %]_type" id="[% type | html %]_type" class="required" required="required"> |
12 |
[% IF type == 'refund' %] |
12 |
[% IF type == 'refund' %] |
13 |
<option value="AC">Account credit</option> |
13 |
<option value="AC">Account credit</option> |
14 |
[% END %] |
14 |
[% END %] |
Lines 18-25
Link Here
|
18 |
</select> |
18 |
</select> |
19 |
<span class="required">Required</span> |
19 |
<span class="required">Required</span> |
20 |
[%- ELSE -%] |
20 |
[%- ELSE -%] |
21 |
<label for="[% type %]_type">[% IF type == 'payment' %]Payment[% ELSE %]Transaction[% END %] type: </label> |
21 |
<label for="[% type | html %]_type">[% IF type == 'payment' %]Payment[% ELSE %]Transaction[% END %] type: </label> |
22 |
<select name="[% type %]_type" id="[% type %]_type"> |
22 |
<select name="[% type | html %]_type" id="[% type | html %]_type"> |
23 |
<option value=""></option> |
23 |
<option value=""></option> |
24 |
[% IF type == 'refund' %] |
24 |
[% IF type == 'refund' %] |
25 |
<option value="AC">Account credit</option> |
25 |
<option value="AC">Account credit</option> |