[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5219] trunk
- Subject: SF.net SVN: ledger-smb:[5219] trunk
- From: ..hidden..
- Date: Tue, 20 Nov 2012 09:47:31 +0000
Revision: 5219
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5219&view=rev
Author: einhverfr
Date: 2012-11-20 09:47:31 +0000 (Tue, 20 Nov 2012)
Log Message:
-----------
More PNL perl/template fixes. Filter screen works.
Modified Paths:
--------------
trunk/LedgerSMB/Scripts/pnl.pm
trunk/UI/Reports/filters/income_statement.html
Modified: trunk/LedgerSMB/Scripts/pnl.pm
===================================================================
--- trunk/LedgerSMB/Scripts/pnl.pm 2012-11-20 09:24:30 UTC (rev 5218)
+++ trunk/LedgerSMB/Scripts/pnl.pm 2012-11-20 09:47:31 UTC (rev 5219)
@@ -23,8 +23,11 @@
=cut
+package LedgerSMB::Scripts::pnl;
+
use LedgerSMB::Report::PNL::Income_Statement;
+
sub generate_income_statement {
my ($request) = @_;
my $rpt =LedgerSMB::Report::PNL::Income_Statement->new(%$request);
Modified: trunk/UI/Reports/filters/income_statement.html
===================================================================
--- trunk/UI/Reports/filters/income_statement.html 2012-11-20 09:24:30 UTC (rev 5218)
+++ trunk/UI/Reports/filters/income_statement.html 2012-11-20 09:47:31 UTC (rev 5219)
@@ -1,15 +1,15 @@
<?lsmb INCLUDE 'ui-header.html' ?>
<?lsmb PROCESS elements.html;
- PROCESS 'report_base.html';
+ PROCESS 'report_base.html'; ?>
<body>
-<form method="get" action="reports.pl">
+<form method="get" action="pnl.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;
+ <?lsmb PROCESS business_classes;
PROCESS date_row; # TODO add comparisons ?>
</table>
</td>
@@ -31,7 +31,7 @@
name = 'basis',
type = 'radio',
value = 'cash',
- label = text('Accrual'),
+ label = text('Cash'),
} -?>
</td>
</tr>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.