diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-10-20 01:05:26 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-10-20 01:05:26 +0000 |
commit | 70c29cebc700cf9cd2f63b0a333b61aca85ac30d (patch) | |
tree | 81ad8b8abc6a572f80a073388298acb941db7696 /UI | |
parent | f084ce511dbdda4fcb65c6f64746c201cc5f2caa (diff) |
Removing references to ca.pl's list_transactions function and moving these to a gl report.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2374 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r-- | UI/ca-list-selector.html | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/UI/ca-list-selector.html b/UI/ca-list-selector.html index 4f4798ad..7f1d66ee 100644 --- a/UI/ca-list-selector.html +++ b/UI/ca-list-selector.html @@ -16,9 +16,9 @@ <?lsmb PROCESS elements.html ?> <body> -<form method="post" action="ca.pl"> - -<?lsmb FOREACH hidden IN ['accno', 'description', 'sort', 'oldsort', 'accounttype', 'gifi_accno', 'gifi_description']; +<form method="post" action="gl.pl"> +<?lsmb IF form.accounttype == '' ; form.accounttype = 'standard'; END ?> +<?lsmb FOREACH hidden IN ['accno', 'sort', 'oldsort', 'accounttype', 'gifi_accno', 'gifi_description']; PROCESS input element_data={type => 'hidden', name => hidden, value => form.item(hidden)}; END ?> <table border="0" width="100%"> <tr><th class="listtop"><?lsmb form.title ?></th></tr> @@ -29,9 +29,9 @@ <tr> <th align="right"><?lsmb text('From') ?></th> - <td><?lsmb PROCESS input element_data={class => 'date', name => 'fromdate' size => '11', title="yyyy-mm-dd"} ?></td> + <td><?lsmb PROCESS input element_data={class => 'date', name => 'datefrom' size => '11', title="yyyy-mm-dd"} ?></td> <th align="right"><?lsmb text('To') ?></th> - <td><?lsmb PROCESS input element_data={class => 'date', name => 'todate' size => '11', title="yyyy-mm-dd"} ?></td> + <td><?lsmb PROCESS input element_data={class => 'date', name => 'dateto' size => '11', title="yyyy-mm-dd"} ?></td> </tr> <?lsmb IF form.all_department ?> @@ -69,9 +69,20 @@ <?lsmb FOREACH hidden IN ['login', 'path', 'sessionid']; PROCESS input element_data={type => 'hidden', name => hidden, value => form.$hidden}; END ?> +<?lsmb FOREACH hidden IN ['l_transdate', 'l_reference', 'l_description', 'l_debit', 'l_credit', 'l_balance']; + PROCESS input element_data = { + type = 'hidden' + name = hidden + value = 'Y' + }; END ?> + <?lsmb PROCESS input element_data = { + type = 'hidden' + name = 'category' + value = 'X' + };?> <br /> -<?lsmb PROCESS button element_data={class => "submit", name => "action", value => "list_transactions", text => text('List Transactions')} ?> +<?lsmb PROCESS button element_data={class => "submit", name => "action", value => "generate_report", text => text('List Transactions')} ?> </form> </body> |