[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5049] trunk/UI
- Subject: SF.net SVN: ledger-smb:[5049] trunk/UI
- From: ..hidden..
- Date: Fri, 27 Jul 2012 07:20:04 +0000
Revision: 5049
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5049&view=rev
Author: einhverfr
Date: 2012-07-27 07:20:04 +0000 (Fri, 27 Jul 2012)
Log Message:
-----------
Income Statement filter template
Modified Paths:
--------------
trunk/UI/rp-search.html
Added Paths:
-----------
trunk/UI/Reports/filters/income_statement.html
Removed Paths:
-------------
trunk/UI/rp-search-generate_trial_balance.html
Added: trunk/UI/Reports/filters/income_statement.html
===================================================================
--- trunk/UI/Reports/filters/income_statement.html (rev 0)
+++ trunk/UI/Reports/filters/income_statement.html 2012-07-27 07:20:04 UTC (rev 5049)
@@ -0,0 +1,53 @@
+<?lsmb INCLUDE 'ui-header.html' ?>
+<?lsmb PROCESS elements.html;
+ PROCESS 'report_base.html';
+<body>
+<form method="get" action="reports.pl">
+<table width="100%">
+ <tr><th class="listtop"><?lsmb text('Income Statement') ?></th></tr>
+ <tr><td> </td></tr>
+ <tr>
+ <td>
+ <table>
+ <?lsmb PROCESS business_units;
+ PROCESS date_row; # TODO add comparisons ?>
+ </table>
+ </td>
+</tr>
+<tr>
+ <td>
+ <table>
+ <tr>
+ <th align="right"><?lsmb text('Method') ?></th>
+ <td colspan="3">
+<?lsmb PROCESS input element_data={
+ name = 'basis',
+ type = 'radio',
+ value = 'accrual',
+ label = text('Accrual'),
+ checked = 'checked',
+ } -?>
+<?lsmb PROCESS input element_data={
+ name = 'basis',
+ type = 'radio',
+ value = 'cash',
+ label = text('Accrual'),
+ } -?>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr><td><hr size="3" noshade="noshade" /></td></tr>
+</table>
+<?lsmb PROCESS button element_data = {
+ name = 'action'
+ class = 'submit'
+ type = 'submit'
+ text = text('Continue'),
+ value = 'generate_income_statement'
+} ?>
+<br />
+</form>
+</body>
+</html>
Deleted: trunk/UI/rp-search-generate_trial_balance.html
===================================================================
--- trunk/UI/rp-search-generate_trial_balance.html 2012-07-26 09:06:17 UTC (rev 5048)
+++ trunk/UI/rp-search-generate_trial_balance.html 2012-07-27 07:20:04 UTC (rev 5049)
@@ -1,109 +0,0 @@
- <tr>
- <th align="right"><?lsmb text('From') ?></th>
- <td><?lsmb PROCESS input element_data={
- class => 'date',
- name => 'fromdate',
- size => '11',
- title => user.dateformat,
- value => form.fromdate,
- } ?></td>
- <th align="right"><?lsmb text('To') ?></th>
- <td><?lsmb PROCESS input element_data={
- class => 'date',
- name => 'todate',
- size => '11',
- title => user.dateformat,
- value => form.todate,
- } ?></td>
- </tr>
-<?lsmb IF form.selectaccountingyear.defined ?>
- <tr>
- <th align="right"><?lsmb text('Period') ?></th>
- <td colspan="3">
- <?lsmb PROCESS select element_data=form.selectaccountingmonth -?>
- <?lsmb PROCESS select element_data=form.selectaccountingyear -?>
- <?lsmb PROCESS input element_data={
- type => 'radio',
- name => 'interval',
- value => '0',
- label => text('Current'),
- checked => 'checked',
- } -?>
- <?lsmb PROCESS input element_data={
- type => 'radio',
- name => 'interval',
- value => '1',
- label => text('Month'),
- } -?>
- <?lsmb PROCESS input element_data={
- type => 'radio',
- name => 'interval',
- value => '3',
- label => text('Quarter'),
- } -?>
- <?lsmb PROCESS input element_data={
- type => 'radio',
- name => 'interval',
- value => '12',
- label => text('Year'),
- } -?>
- </td>
- </tr>
- <tr>
- <th align="right"><?lsmb text('Display Precision') ?></th>
- <td><?lsmb PROCESS input element_data = {
- name = 'display_precision'
- value = display_precision
- type = 'input'
- size = 10
- class = 'int'
- } ?>
- </td>
- </tr>
- <tr>
- <th><?lsmb text('Calc. Precision') ?></th>
- <td><?lsmb PROCESS input element_data = {
- name = 'calc_precision'
- value = calc_precision
- type = 'input'
- size = 10
- class = 'int'
- } ?>
- </td>
- </tr>
-<?lsmb END ?>
- </table>
- </td>
-</tr>
-<tr>
- <td>
- <table>
- <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 => 'all_accounts',
- type => 'checkbox',
- value => 'Y',
- label => text('All Accounts'),
- } -?>
-<?lsmb PROCESS input element_data={
- name => 'discrete_money',
- type => 'checkbox',
- value => 'Y',
- label => text('Whole Monetary Amounts Only'),
- } -?>
- </td>
- </tr>
Modified: trunk/UI/rp-search.html
===================================================================
--- trunk/UI/rp-search.html 2012-07-26 09:06:17 UTC (rev 5048)
+++ trunk/UI/rp-search.html 2012-07-27 07:20:04 UTC (rev 5049)
@@ -1,7 +1,7 @@
<?lsmb INCLUDE 'ui-header.html' ?>
<?lsmb PROCESS elements.html ?>
<body>
-<form method="g.t" action="<?lsmb form.script ?>">
+<form method="get" action="<?lsmb form.script ?>">
<table width="100%">
<tr><th class="listtop"><?lsmb form.title ?></th></tr>
<tr><td> </td></tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.