Bug 24339: Remove SIP payment types from staff pay screens
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
parent
9c8a182c02
commit
dbcdb741bd
|
|
@ -129,13 +129,16 @@
|
|||
<span id="change">0.00</span>
|
||||
</li>
|
||||
[% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
|
||||
[% IF payment_types %]
|
||||
[% SET excluded = ['SIP00', 'SIP01', 'SIP02'] %]
|
||||
[% IF payment_types.size > 3 %]
|
||||
<li>
|
||||
<label for="payment_type">Payment type: </label>
|
||||
<select name="payment_type" id="payment_type">
|
||||
<option value=""></option>
|
||||
[% FOREACH pt IN payment_types %]
|
||||
[% UNLESS excluded.grep("^$pt.authorised_value\$").size %]
|
||||
<option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
</li>
|
||||
|
|
@ -258,13 +261,16 @@
|
|||
<span id="change">0.00</span>
|
||||
</li>
|
||||
[% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
|
||||
[% IF payment_types %]
|
||||
[% SET excluded = ['SIP00', 'SIP01', 'SIP02'] %]
|
||||
[% IF payment_types.size > 3 %]
|
||||
<li>
|
||||
<label for="payment_type">Payment type: </label>
|
||||
<select name="payment_type" id="payment_type">
|
||||
<option value=""></option>
|
||||
[% FOREACH pt IN payment_types %]
|
||||
[% UNLESS excluded.grep("^$pt.authorised_value\$").size %]
|
||||
<option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue