diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-11-03 03:01:24 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-11-03 03:01:24 +0000 |
commit | 3692c4b5cff68cc803f9aaee434a75007b3e19c7 (patch) | |
tree | d4faffa14066692fba17fd6c256cab3142266805 /UI/rp-search-balance_sheet.html | |
parent | b061afa04f88b3bceca4a1058a5fee2812bdd593 (diff) |
Template search forms for rp.pl
Templating of bin/rp.pl done
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1843 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/rp-search-balance_sheet.html')
-rw-r--r-- | UI/rp-search-balance_sheet.html | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/UI/rp-search-balance_sheet.html b/UI/rp-search-balance_sheet.html new file mode 100644 index 00000000..2363b4a6 --- /dev/null +++ b/UI/rp-search-balance_sheet.html @@ -0,0 +1,97 @@ + <tr> + <th align="right"><?lsmb text('as at') ?></th> + <td><?lsmb PROCESS input element_data={ + class => 'date', + name => 'asofdate', + size => '11', + title => user.dateformat, + value => form.asofdate, + } ?></td> + <td colspan="2"> +<?lsmb IF form.selectaccountingyear.defined ?> + <?lsmb PROCESS select element_data=form.selectaccountingmonth -?> + <?lsmb PROCESS select element_data=form.selectaccountingyear -?> +<?lsmb END ?> + </td> + </tr> + <tr><th align="right"><?lsmb text('Compare to') ?></th><td colspan="3" /></tr> + <tr> + <th align="right"><?lsmb text('From') ?></th> + <td><?lsmb PROCESS input element_data={ + class => 'date', + name => 'compareasofdate', + size => '11', + title => user.dateformat, + } ?></td> + <td> +<?lsmb IF form.selectaccountingyear.defined; + compare_month = { + options => form.selectaccountingmonth.options, + name => 'compareasofmonth', + }; + compare_year = { + options => form.selectaccountingyear.options, + name => 'compareasofyear', + }; + -?> + <?lsmb PROCESS select element_data=compare_month -?> + <?lsmb PROCESS select element_data=compare_year -?> +<?lsmb END ?> + </td> + </tr> + <tr> + <th align="right"><?lsmb text('Decimal Places') ?></th> + <td colspan="3"><?lsmb PROCESS input element_data={ + name => 'decimalplaces', + size => '3', + value => '2', + } ?> + </td> + </tr> + </table> + </td> +</tr> +<tr> + <td> + <table> + <tr> + <th align="right"><?lsmb text('Method') ?></th> + <td colspan="3"> +<?lsmb PROCESS input element_data={ + name => 'method', + type => 'radio', + value => 'accrual', + label => text('Accrual'), + checked => 'checked', + } -?> +<?lsmb PROCESS input element_data={ + name => 'method', + type => 'radio', + value => 'cash', + label => text('Cash'), + } -?> + </td> + </tr> + <tr> + <th align="right"><?lsmb text('Include in Report') ?></th> + <td colspan="3"> +<?lsmb PROCESS input element_data={ + name => 'l_heading', + type => 'checkbox', + value => 'Y', + label => text('Heading'), + } -?> +<?lsmb PROCESS input element_data={ + name => 'l_subtotal', + type => 'checkbox', + value => 'Y', + label => text('Subtotal'), + } -?> +<?lsmb PROCESS input element_data={ + name => 'l_accno', + type => 'checkbox', + value => 'Y', + label => text('Account Number'), + } -?> + </td> + </tr> |