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

SF.net SVN: ledger-smb:[4952] trunk/LedgerSMB/Scripts/reports.pm



Revision: 4952
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4952&view=rev
Author:   einhverfr
Date:     2012-07-01 08:39:38 +0000 (Sun, 01 Jul 2012)
Log Message:
-----------
Adding country list for report screens

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

Modified: trunk/LedgerSMB/Scripts/reports.pm
===================================================================
--- trunk/LedgerSMB/Scripts/reports.pm	2012-06-29 06:30:28 UTC (rev 4951)
+++ trunk/LedgerSMB/Scripts/reports.pm	2012-07-01 08:39:38 UTC (rev 4952)
@@ -72,6 +72,9 @@
     if (!$request->{report_name}){
         die $request->{_locale}->text('No report specified');
     }
+    @{$request->{country_list}} = $request->call_procedure( 
+                   ocname => 'location_list_country'
+    );
     my $template = LedgerSMB::Template->new(
         user => $request->{_user},
         locale => $request->{_locale},

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