blob: 58bdb114d5d6ad47c4ab2e096532326b9aa41bf5 (
plain)
- <?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>
|