Browse Source
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>20.05.x
3 changed files with 27 additions and 47 deletions
@ -0,0 +1,19 @@ |
|||
[% USE AuthorisedValues %] |
|||
[%- BLOCK account_payment_types -%] |
|||
[% SET payment_types = [] %] |
|||
[% FOR pt IN AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] |
|||
[% NEXT IF pt.authorised_value.grep("^SIP[[:digit:]]{2}$").size() %] |
|||
[% payment_types.push(pt) %] |
|||
[% END %] |
|||
[% IF payment_types.size > 0 %] |
|||
<li> |
|||
<label for="payment_type">Payment type: </label> |
|||
<select name="payment_type" id="payment_type"> |
|||
<option value=""></option> |
|||
[% FOREACH pt IN payment_types %] |
|||
<option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option> |
|||
[% END %] |
|||
</select> |
|||
</li> |
|||
[% END %] |
|||
[%- END -%] |
Loading…
Reference in new issue