[% PROCESS elements.html %]

[% form.title %]
| [% text('Rate (%)') %] | [% text('Min Taxable') %] | [% text('Number') %] | [% text('Valid To') %] | [% text('Ordering') %] | [% text('Tax Rules') %]
--- | --- | --- | --- | --- | --- | ---
[% FOREACH row IN rows; i = loop.count %]
[% row.0 %] | [% PROCESS input element_data = { name = "taxrate_" _ i size = 6 value = form.item("taxrate_$i") } %] | [% PROCESS input element_data = { name = "minvalue_" _ i size = 6 value = form.item("minvalue_$i") } %] | [% PROCESS input element_data = { name = "taxnumber_" _ i size = 6 value = form.item("taxnumber_$i") } %] | [% PROCESS input element_data = { name = "validto_" _ i size = 10 value = form.item("validto_$i") class = "date" } %] | [% PROCESS input element_data = { name = "pass_" _ i size = 6 value = form.item("pass_$i") } %] | [% PROCESS select element_data=row.1 %]
[% END %]

[% FOREACH hidden IN hiddens.keys; PROCESS input element_data={ type => 'hidden' name => hidden value => hiddens.item(hidden) }; END; PROCESS button element_data={ name => '__action' value => 'update' text => text('Update') }; PROCESS button element_data={ name => '__action' value => 'save_taxes' text => text('Save') 'data-lsmb-doing' = text('Saving...') 'data-lsmb-done' = text('Saved') } %]

[% text('Tax items can be added to the list on this page by checking the "Tax" checkmark on the account configuration page.') %]