diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-24 22:50:12 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-24 22:50:12 +0000 |
commit | 8f5b8bd131d1a2cae3e2455b4a32d09d21999c30 (patch) | |
tree | 6c7fcc171cdb3f571a4ca1fe6724abf9c509a599 /UI | |
parent | e2b0202cff81f02ce9a7e6a1cddf463704ebacf1 (diff) |
Convert the yearend form to a template
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1815 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r-- | UI/am-yearend.html | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/UI/am-yearend.html b/UI/am-yearend.html new file mode 100644 index 00000000..33159a97 --- /dev/null +++ b/UI/am-yearend.html @@ -0,0 +1,70 @@ +<?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> </td></tr> + <tr> + <td> + <table> + <tr> + <th align="right"><?lsmb text('Yearend') ?></th> + <td><?lsmb PROCESS input element_data={ + class => 'date', + name => 'todate', + size => 11, + title => user.dateformat, + } -?></td> + </tr> + <tr> + <th align="right"><?lsmb text('Reference') ?></th> + <td><?lsmb PROCESS input element_data={ + name => 'reference', + size => 20, + value => text('Yearend'), + } -?></td> + </tr> + <tr> + <th align="right"><?lsmb text('Description') ?></th> + <td><?lsmb PROCESS textarea element_data={ + name => 'description', + rows => 3, + cols => 50, + } -?></td> + </tr> + <tr> + <th align="right"><?lsmb text('Retained Earnings') ?></th> + <td><?lsmb PROCESS select element_data=accounts -?></td> + </tr> + <tr> + <th align="right"><?lsmb text('Method') ?></th> + <td><?lsmb PROCESS input element_data={ + name => 'method', + type => 'radio', + value => 'accrual', + checked => 'checked', + label => text('Accrual'), + }; + PROCESS input element_data={ + name => 'method', + type => 'radio', + value => 'cash', + label => text('Cash'), + } -?></td> + </tr> + </table> + </td> + </tr> +</table> +<hr size="3" noshade="noshade" /> +<?lsmb FOREACH hidden IN hiddens.keys; + PROCESS input element_data={ + type => 'hidden', + name => hidden, + value => hiddens.item(hidden) + }; END ?> +<?lsmb FOREACH button IN buttons; PROCESS button element_data=button; END ?> +</form> +</body> +</html> |