[wiaflos-devel] COMMIT - r252 - trunk/wiaflos/server
svn at linuxrulz.org
svn at linuxrulz.org
Sat Nov 8 06:30:23 GMT 2008
Author: nkukard
Date: 2008-11-08 06:30:23 +0000 (Sat, 08 Nov 2008)
New Revision: 252
Modified:
trunk/wiaflos/server/Reporting.pm
Log:
* Removed TODO's that we don't need anymore
Modified: trunk/wiaflos/server/Reporting.pm
===================================================================
--- trunk/wiaflos/server/Reporting.pm 2008-11-02 11:27:56 UTC (rev 251)
+++ trunk/wiaflos/server/Reporting.pm 2008-11-08 06:30:23 UTC (rev 252)
@@ -510,18 +510,11 @@
return ERR_PARAM;
}
-
-# TODO - Generic
-
-
# Pull in config
my $config = wiaflos::server::config::getConfig();
-
-# TODO - Customize per report?
-
# Check if subject was overridden
- my $subject = (defined($detail->{'Subject'}) && $detail->{'Subject'} ne "") ? $detail->{'Subject'} : "Chart of accounts";
+ my $subject = (defined($detail->{'Subject'}) && $detail->{'Subject'} ne "") ? $detail->{'Subject'} : "Report";
# Build array of stuff we can use
my $vars = {
@@ -532,18 +525,11 @@
'api_account_entries' => \&api_account_entries,
'api_inventory_stock_balances' => \&api_inventory_stock_balances,
-# TODO - Optional??
-
# Client
'StartDate' => defined($detail->{'StartDate'}) ? $detail->{'StartDate'} : "-",
'EndDate' => defined($detail->{'EndDate'}) ? $detail->{'EndDate'} : "CURRENT",
};
-
-
-
-# TODO - Generic?
-
# Set template to use
my $template = $detail->{'Template'};
More information about the wiaflos-devel
mailing list