[% PROCESS elements.html # Include form elements helper. -%] [% login.type = 'hidden' ; INCLUDE input element_data=login -%] [% department.type = 'hidden' ; INCLUDE input element_data=department -%] [% currency.type = 'hidden' ; INCLUDE input element_data=currency -%] [% datefrom.type = 'hidden' ; INCLUDE input element_data=datefrom -%] [% dateto.type = 'hidden' ; INCLUDE input element_data=dateto -%] [% amountfrom.type = 'hidden' ; INCLUDE input element_data=amountfrom -%] [% amountto.type = 'hidden' ; INCLUDE input element_data=amountto -%] [% accountclass.type = 'hidden'; INCLUDE input element_data=accountclass -%] [% # The first_load field is required on payment2.html to initialize discounts the first time, on each subsequent update it wont exist-%] [% INCLUDE input element_data={ name => 'first_load', id => 'first_load', type => 'hidden', value => 'on'} %] [% type.type = "hidden"; INCLUDE input element_data=type -%]
[% i = 0; FOREACH item IN companies -%] [% i = i + 1; j = i % 2; alterning_style = "listrow$j" %] [% END -%]
[% PROCESS input element_data = { type="radio" name="vendor-customer" id="vendor-customer-" _ item.id value=item.id _ '--' _ item.name } %] [% item.name -%]
[% INCLUDE button element_data=action %]