Feature 5388: Print Invoices (documents) list gets too long. Fixed by default 180...
[fa-stable.git] / applications / generalledger.php
index 351e2486d178001483f41216de32e73498bed4de..4b5ac702560244ebcac4edf484975fcf8a8be05e 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class general_ledger_app extends application
 {
-       function general_ledger_app()
+       function __construct()
        {
-               $this->application("GL", _($this->help_context = "&Banking and General Ledger"));
+               parent::__construct("GL", _($this->help_context = "&Banking and General Ledger"));
 
                $this->add_module(_("Transactions"));
                $this->add_lapp_function(0, _("&Payments"),
@@ -72,7 +72,7 @@ class general_ledger_app extends application
                $this->add_rapp_function(2, _("GL Account &Classes"),
                        "gl/manage/gl_account_classes.php?", 'SA_GLACCOUNTCLASS', MENU_MAINTENANCE);
                $this->add_rapp_function(2, _("&Closing GL Transactions"),
-                       "gl/manage/close_period.php?", 'SA_GLSETUP', MENU_MAINTENANCE);
+                       "gl/manage/close_period.php?", 'SA_GLCLOSE', MENU_MAINTENANCE);
                $this->add_rapp_function(2, _("&Revaluation of Currency Accounts"),
                        "gl/manage/revaluate_currencies.php?", 'SA_EXCHANGERATE', MENU_MAINTENANCE);
 
@@ -81,4 +81,3 @@ class general_ledger_app extends application
 }
 
 
-?>
\ No newline at end of file