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

SF.net SVN: ledger-smb:[5826] trunk/LedgerSMB/Scripts/contact.pm



Revision: 5826
          http://sourceforge.net/p/ledger-smb/code/5826
Author:   einhverfr
Date:     2013-05-19 02:09:01 +0000 (Sun, 19 May 2013)
Log Message:
-----------
Fixing PNL dropdowns not populated on ECA div, bug 825

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

Modified: trunk/LedgerSMB/Scripts/contact.pm
===================================================================
--- trunk/LedgerSMB/Scripts/contact.pm	2013-05-18 21:48:32 UTC (rev 5825)
+++ trunk/LedgerSMB/Scripts/contact.pm	2013-05-19 02:09:01 UTC (rev 5826)
@@ -116,6 +116,12 @@
     }
     $request->{target_div} ||= 'company';
 
+    my @all_years =  $request->call_procedure(
+              procname => 'date_get_all_years'
+    );
+
+
+
     my %DIV_LABEL = (
              company => $locale->text('Company'),
               person => $locale->text('Person'),
@@ -287,6 +293,8 @@
       location_class_list => ..hidden..,
        contact_class_list => ..hidden..,
                 all_taxes => ..hidden..,
+                all_years => ..hidden..,
+               all_months =>  LedgerSMB::App_State::all_months()->{dropdown},
     });
 }
 

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