1 [% USE AuthorisedValues %]
2 [%- BLOCK account_payment_types -%]
3 [% SET payment_types = [] %]
4 [% FOR pt IN AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
5 [% NEXT IF pt.authorised_value.grep("^SIP[[:digit:]]{2}$").size() %]
6 [% payment_types.push(pt) %]
8 [% IF payment_types.size > 0 %]
10 <label for="payment_type">Payment type: </label>
11 [% IF Koha.Preference('UseCashRegisters') %]
12 <select name="payment_type" id="payment_type" required>
14 <select name="payment_type" id="payment_type">
15 <option value=""></option>
17 [% FOREACH pt IN payment_types %]
18 <option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option>