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

SF.net SVN: ledger-smb:[5015] trunk/LedgerSMB/Scripts/inv_reports.pm



Revision: 5015
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5015&view=rev
Author:   einhverfr
Date:     2012-07-19 12:00:57 +0000 (Thu, 19 Jul 2012)
Log Message:
-----------
Inventory adjustment details report code completed

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/inv_reports.pm

Modified: trunk/LedgerSMB/Scripts/inv_reports.pm
===================================================================
--- trunk/LedgerSMB/Scripts/inv_reports.pm	2012-07-18 08:38:50 UTC (rev 5014)
+++ trunk/LedgerSMB/Scripts/inv_reports.pm	2012-07-19 12:00:57 UTC (rev 5015)
@@ -34,6 +34,16 @@
 
 Shows adjustment details
 
+=cut 
+
+sub adj_details {
+    my ($request) = @_;
+    use LedgerSMB::DBObject::Report::Inventory::Adj_Detail;
+    my $rpt = LedgerSMB::DBObject::Report::Inventory::Adj_Detail->new(%$request);
+    $rpt->run_report;
+    $rpt->render($request);
+}
+
 =back
 
 =head1 COPYRIGHT

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