summaryrefslogtreecommitdiff
path: root/UI/am-taxes.html
diff options
context:
space:
mode:
Diffstat (limited to 'UI/am-taxes.html')
-rw-r--r--UI/am-taxes.html47
1 files changed, 47 insertions, 0 deletions
diff --git a/UI/am-taxes.html b/UI/am-taxes.html
new file mode 100644
index 00000000..58bdb114
--- /dev/null
+++ b/UI/am-taxes.html
@@ -0,0 +1,47 @@
+<?lsmb INCLUDE 'ui-header.html' ?>
+<?lsmb PROCESS elements.html ?>
+<body>
+<form method="post" action="<?lsmb form.script ?>">
+<table width="100%">
+ <tr><th class="listtop"><?lsmb form.title ?></th></tr>
+ <tr>
+ <td>
+ <table>
+ <tr>
+ <th></th>
+ <th><?lsmb text('Rate (%)') ?></th>
+ <th><?lsmb text('Number') ?></th>
+ <th><?lsmb text('Valid To') ?></th>
+ <th><?lsmb text('Ordering') ?></th>
+ <th><?lsmb text('Tax Rules') ?></th>
+ </tr>
+<?lsmb FOREACH row IN rows; i = loop.count ?>
+ <tr>
+ <th align="right"><?lsmb row.0 ?></th>
+ <td><input name="taxrate_<?lsmb i ?>" size="6" value="<?lsmb form.item("taxrate_$i") ?>" /></td>
+ <td><input name="taxnumber_<?lsmb i ?>" value="<?lsmb form.item("taxnumber_$i") ?>" /></td>
+ <td><input class="date" name="validto_<?lsmb i ?>" size="11" value="<?lsmb form.item("validto_$i") ?>" title="<?lsmb user.dateformat ?>" /></td>
+ <td><input name="pass_<?lsmb i ?>" size="6" value="<?lsmb form.item("pass_$i") ?>" /></td>
+ <td><?lsmb PROCESS select element_data=row.1 ?></td>
+ </tr>
+<?lsmb END ?>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td><hr size="3" noshade="noshade" /></td>
+ </tr>
+</table>
+
+<?lsmb 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')} ?>
+ </form>
+
+</body>
+</html>