[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4970] trunk/LedgerSMB/Scripts



Revision: 4970
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4970&view=rev
Author:   einhverfr
Date:     2012-07-11 12:43:41 +0000 (Wed, 11 Jul 2012)
Log Message:
-----------
Removing incorrect prepare_criteria calls

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/lreports_co.pm
    trunk/LedgerSMB/Scripts/report_aging.pm

Modified: trunk/LedgerSMB/Scripts/lreports_co.pm
===================================================================
--- trunk/LedgerSMB/Scripts/lreports_co.pm	2012-07-11 10:40:04 UTC (rev 4969)
+++ trunk/LedgerSMB/Scripts/lreports_co.pm	2012-07-11 12:43:41 UTC (rev 4970)
@@ -67,7 +67,6 @@
 
 sub run_caja_diaria {
     my ($request) = @_;
-    LedgerSMB::DBObject::Report::co::Caja_Diaria->prepare_criteria($request);
     my $report = LedgerSMB::DBObject::Report::co::Caja_Diaria->new(%$request);
     $report->run_report;
     $report->render($request);
@@ -81,7 +80,6 @@
 
 sub run_bm {
     my ($request) = @_;
-    LedgerSMB::DBObject::Report::co::Balance_y_Mayor->prepare_criteria($request);
     my $report = LedgerSMB::DBObject::Report::co::Balance_y_Mayor->new(%$request);
     $report->run_report;
     $report->render($request);

Modified: trunk/LedgerSMB/Scripts/report_aging.pm
===================================================================
--- trunk/LedgerSMB/Scripts/report_aging.pm	2012-07-11 10:40:04 UTC (rev 4969)
+++ trunk/LedgerSMB/Scripts/report_aging.pm	2012-07-11 12:43:41 UTC (rev 4970)
@@ -38,7 +38,6 @@
          push @{$request->{business_units}}, $request->{"business_unit_$count"}
                if $request->{"business_unit_$count"};
     }
-    LedgerSMB::DBObject::Report::Aging->prepare_criteria($request);
     my $report = LedgerSMB::DBObject::Report::Aging->new(%$request);
     $report->run_report;
     $report->render($request);

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.