X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fgeneralledger.php;h=1bbea0d4c5779a0e65b2d69b3d0019d4ff1bd308;hb=9af96a2e461b905dbb20f2b87ffb5c28f9b3461c;hp=5a8a7612b2e2442f966282b94f77d18a06d25864;hpb=c67cb853142909aaa6dd27681a9bd5b62f1f7526;p=fa-stable.git diff --git a/applications/generalledger.php b/applications/generalledger.php index 5a8a7612..1bbea0d4 100644 --- a/applications/generalledger.php +++ b/applications/generalledger.php @@ -1,20 +1,19 @@ . ***********************************************************************/ -class general_ledger_app extends application +class general_ledger_app extends application { - function general_ledger_app() + function general_ledger_app() { - global $installed_extensions; - $this->application("GL",_("&Banking and General Ledger")); + $this->application("GL", _($this->help_context = "&Banking and General Ledger")); $this->add_module(_("Transactions")); $this->add_lapp_function(0, _("&Payments"), @@ -29,11 +28,13 @@ class general_ledger_app extends application "gl/gl_budget.php?", 'SA_BUDGETENTRY'); $this->add_rapp_function(0, _("&Reconcile Bank Account"), "gl/bank_account_reconcile.php?", 'SA_RECONCILE'); - + $this->add_rapp_function(0, _("Revenue / &Costs Accruals"), + "gl/accruals.php?", 'SA_ACCRUALS'); + $this->add_module(_("Inquiries and Reports")); $this->add_lapp_function(1, _("&Journal Inquiry"), "gl/inquiry/journal_inquiry.php?", 'SA_GLANALYTIC'); - $this->add_lapp_function(1, _("GL Account &Inquiry"), + $this->add_lapp_function(1, _("GL &Inquiry"), "gl/inquiry/gl_account_inquiry.php?", 'SA_GLTRANSVIEW'); $this->add_lapp_function(1, _("Bank Account &Inquiry"), "gl/inquiry/bank_inquiry.php?", 'SA_BANKTRANSVIEW'); @@ -42,6 +43,10 @@ class general_ledger_app extends application $this->add_rapp_function(1, _("Trial &Balance"), "gl/inquiry/gl_trial_balance.php?", 'SA_GLANALYTIC'); + $this->add_rapp_function(1, _("Balance &Sheet Drilldown"), + "gl/inquiry/balance_sheet.php?", 'SA_GLANALYTIC'); + $this->add_rapp_function(1, _("&Profit and Loss Drilldown"), + "gl/inquiry/profit_loss.php?", 'SA_GLANALYTIC'); $this->add_rapp_function(1, _("Banking &Reports"), "reporting/reports_main.php?Class=5", 'SA_BANKREP'); $this->add_rapp_function(1, _("General Ledger &Reports"), @@ -66,16 +71,11 @@ class general_ledger_app extends application "gl/manage/gl_account_types.php?", 'SA_GLACCOUNTGROUP'); $this->add_rapp_function(2, _("GL Account &Classes"), "gl/manage/gl_account_classes.php?", 'SA_GLACCOUNTCLASS'); - if (count($installed_extensions) > 0) - { - foreach ($installed_extensions as $mod) - { - if (@$mod['active'] && $mod['type'] == 'plugin' && $mod["tab"] == "GL") - $this->add_rapp_function(2, $mod["title"], - "modules/".$mod["path"]."/".$mod["filename"]."?", - isset($mod["access"]) ? $mod["access"] : 'SA_OPEN' ); - } - } + $this->add_rapp_function(2, "",""); + $this->add_rapp_function(2, _("&Revaluation of Currency Accounts"), + "gl/manage/revaluate_currencies.php?", 'SA_EXCHANGERATE'); + + $this->add_extensions(); } }