diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-06 00:33:18 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-06 00:33:18 +0000 |
commit | b094dd8ef0254e1ac73bb4b2127288aad41d6d55 (patch) | |
tree | 4702dd2d912b9d21bdc3b59f236a024d9afd6fd6 /UI/am-taxes.html | |
parent | 683162b3e575a167dcb394c1f3bb47b98c92addb (diff) |
Template the tax config screen
Add UI header file
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1708 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/am-taxes.html')
-rw-r--r-- | UI/am-taxes.html | 47 |
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> |