X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fgeneralledger.php;h=4b5ac702560244ebcac4edf484975fcf8a8be05e;hb=a131056057ace6c8e61eafabd7d78ef36bb8d4bb;hp=21d48b35e4535ad7ffeba22e7799f3b2767c58d5;hpb=d1babda7c01b314d35fb89f2d195553b55936532;p=fa-stable.git diff --git a/applications/generalledger.php b/applications/generalledger.php index 21d48b35..4b5ac702 100644 --- a/applications/generalledger.php +++ b/applications/generalledger.php @@ -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);