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

SF.net SVN: ledger-smb:[6774] trunk



Revision: 6774
          http://sourceforge.net/p/ledger-smb/code/6774
Author:   einhverfr
Date:     2014-02-06 04:53:59 +0000 (Thu, 06 Feb 2014)
Log Message:
-----------
Inventory adjustment summary report now working, but details crashing still

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/inv_reports.pm
    trunk/UI/Reports/filters/inventory_adj.html

Modified: trunk/LedgerSMB/Scripts/inv_reports.pm
===================================================================
--- trunk/LedgerSMB/Scripts/inv_reports.pm	2014-02-06 03:35:55 UTC (rev 6773)
+++ trunk/LedgerSMB/Scripts/inv_reports.pm	2014-02-06 04:53:59 UTC (rev 6774)
@@ -21,10 +21,11 @@
 =cut
 
 package LedgerSMB::Scripts::inv_reports;
+use LedgerSMB::Report::Inventory::Search_Adj;
+use LedgerSMB::Report::Inventory::Adj_Details;
 
 sub search_adj{
     my ($request) = @_;
-    use LedgerSMB::Report::Inventory::Search_Adj;
     my $rpt = LedgerSMB::Report::Inventory::Search_Adj->new(%$request);
     $rpt->run_report;
     $rpt->render($request);
@@ -36,10 +37,9 @@
 
 =cut 
 
-sub adj_details {
+sub adj_detail {
     my ($request) = @_;
-    use LedgerSMB::Report::Inventory::Adj_Detail;
-    my $rpt = LedgerSMB::Report::Inventory::Adj_Detail->new(%$request);
+    my $rpt = LedgerSMB::Report::Inventory::Adj_Details->new(%$request);
     $rpt->run_report;
     $rpt->render($request);
 }

Modified: trunk/UI/Reports/filters/inventory_adj.html
===================================================================
--- trunk/UI/Reports/filters/inventory_adj.html	2014-02-06 03:35:55 UTC (rev 6773)
+++ trunk/UI/Reports/filters/inventory_adj.html	2014-02-06 04:53:59 UTC (rev 6774)
@@ -1,7 +1,9 @@
 <?lsmb 
-INCLUDE 'ui-header.html';
+INCLUDE 'ui-header.html' include_stylesheet = ['UI/Reports/filter.css'];
 PROCESS 'elements.html';
 PROCESS 'report_base.html'; ?>
+<body class="<?lsmb dojo_theme ?>">
+<div class="listtop"><?lsmb text('Search Inventory Entry'); ?></div>
 <form action="inv_reports.pl" method="get">
 <div class="input_row">
 <div class="input_group">
@@ -33,6 +35,7 @@
        text = text('Run Report') #'
 }; ?>
 </div>
+</div>
 </form>
 </body>
 </html>

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


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits