[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / applications / generalledger.php
index c4c0522b4f3cd4296991c96a45c8a14837e70e89..f81f04e04a4423cb77d1557d0a3f50b2302a0952 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"),
@@ -71,7 +71,8 @@ class general_ledger_app extends application
                        "gl/manage/gl_account_types.php?", 'SA_GLACCOUNTGROUP', MENU_MAINTENANCE);
                $this->add_rapp_function(2, _("GL Account &Classes"),
                        "gl/manage/gl_account_classes.php?", 'SA_GLACCOUNTCLASS', MENU_MAINTENANCE);
-               $this->add_rapp_function(2, "","");
+               $this->add_rapp_function(2, _("&Closing GL Transactions"),
+                       "gl/manage/close_period.php?", 'SA_GLSETUP', MENU_MAINTENANCE);
                $this->add_rapp_function(2, _("&Revaluation of Currency Accounts"),
                        "gl/manage/revaluate_currencies.php?", 'SA_EXCHANGERATE', MENU_MAINTENANCE);
 
@@ -80,4 +81,3 @@ class general_ledger_app extends application
 }
 
 
-?>
\ No newline at end of file