View | Details | Raw Unified | Return to bug 27289
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/payments.inc (-11 / +16 lines)
Lines 7-23 Link Here
7
    [% END %]
7
    [% END %]
8
    [% IF payment_types.size > 0 %]
8
    [% IF payment_types.size > 0 %]
9
        <li>
9
        <li>
10
            <label for="payment_type">Payment type: </label>
11
            [% IF Koha.Preference('UseCashRegisters') %]
10
            [% IF Koha.Preference('UseCashRegisters') %]
12
            <select name="payment_type" id="payment_type" required>
11
                <label for="payment_type" class="required">Payment type: </label>
13
            [% ELSE %]
12
                <select name="payment_type" id="payment_type" class="required" required="required">
14
            <select name="payment_type" id="payment_type">
13
                    [% FOREACH pt IN payment_types %]
15
                <option value=""></option>
14
                        <option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option>
16
            [% END %]
15
                    [% END %]
17
                [% FOREACH pt IN payment_types %]
16
                </select>
18
                    <option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option>
17
                <span class="required">Required</span>
19
                [% END %]
18
            [%- ELSE -%]
20
            </select>
19
                <label for="payment_type">Payment type: </label>
20
                <select name="payment_type" id="payment_type">
21
                    <option value=""></option>
22
                    [% FOREACH pt IN payment_types %]
23
                        <option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option>
24
                    [% END %]
25
                </select>
26
            [%- END -%]
21
        </li>
27
        </li>
22
    [% END %]
28
    [% END %]
23
[%- END -%]
29
[%- END -%]
24
- 

Return to bug 27289