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

SF.net SVN: ledger-smb:[5220] trunk/LedgerSMB/Report/PNL/Income_Statement. pm



Revision: 5220
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5220&view=rev
Author:   einhverfr
Date:     2012-11-20 09:53:27 +0000 (Tue, 20 Nov 2012)
Log Message:
-----------
More PNL fixes to report class/template

Modified Paths:
--------------
    trunk/LedgerSMB/Report/PNL/Income_Statement.pm

Modified: trunk/LedgerSMB/Report/PNL/Income_Statement.pm
===================================================================
--- trunk/LedgerSMB/Report/PNL/Income_Statement.pm	2012-11-20 09:47:31 UTC (rev 5219)
+++ trunk/LedgerSMB/Report/PNL/Income_Statement.pm	2012-11-20 09:53:27 UTC (rev 5220)
@@ -84,9 +84,9 @@
     die LedgerSMB::Report::text('Invalid Reporting Basis') 
            if ($self->basis ne 'accrual') and ($self->basis ne 'cash');
     my $procname = 'pnl__income_statement_' . $self->basis;
-    return $self->call_procedure(
-             procname => $procname, args => [$from_date, $to_date]
-    );
+    return $self->exec_method({
+             funcname => $procname
+    });
 }
 
 =over

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