X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fgeneralledger.php;h=1bbea0d4c5779a0e65b2d69b3d0019d4ff1bd308;hb=2d4828ddafa67b5e359681213804ea589ec5a761;hp=ecbc6b9128f8ea204a197af09e028190b39a99ba;hpb=1f0c585ef87e9138499a71ae2954b1a177a6ef97;p=fa-stable.git diff --git a/applications/generalledger.php b/applications/generalledger.php index ecbc6b91..1bbea0d4 100644 --- a/applications/generalledger.php +++ b/applications/generalledger.php @@ -1,50 +1,83 @@ . +***********************************************************************/ +class general_ledger_app extends application +{ + function general_ledger_app() { - function general_ledger_app() - { - global $installed_modules; - $this->application("GL",_("Banking and General Ledger")); - - $this->add_module(_("Transactions")); - $this->add_lapp_function(0, _("&Payments"),"gl/gl_bank.php?NewPayment=Yes"); - $this->add_lapp_function(0, _("&Deposits"),"gl/gl_bank.php?NewDeposit=Yes"); - $this->add_lapp_function(0, _("Bank Account &Transfers"),"gl/bank_transfer.php?"); - $this->add_rapp_function(0, _("&Journal Entry"),"gl/gl_journal.php?NewJournal=Yes"); - $this->add_rapp_function(0, _("&Budget Entry"),"gl/gl_budget.php?"); - - $this->add_module(_("Inquiries and Reports")); - $this->add_lapp_function(1, _("Bank Account &Inquiry"),"gl/inquiry/bank_inquiry.php?"); - $this->add_lapp_function(1, _("GL Account &Inquiry"),"gl/inquiry/gl_account_inquiry.php?"); - $this->add_lapp_function(1, "",""); - $this->add_lapp_function(1, _("Trial &Balance"),"gl/inquiry/gl_trial_balance.php?"); - - $this->add_rapp_function(1, _("Banking &Reports"),"reporting/reports_main.php?Class=5"); - $this->add_rapp_function(1, _("General Ledger &Reports"),"reporting/reports_main.php?Class=6"); - - $this->add_module(_("Maintenance")); - $this->add_lapp_function(2, _("Bank &Accounts"),"gl/manage/bank_accounts.php?"); - $this->add_lapp_function(2, _("Payment, Deposit and Transfer &Types"),"gl/manage/bank_trans_types.php?"); - $this->add_lapp_function(2, _("Quick Entries"),"gl/manage/gl_quick_entries.php?"); - $this->add_lapp_function(2, "",""); - $this->add_lapp_function(2, _("&Currencies"),"gl/manage/currencies.php?"); - $this->add_lapp_function(2, _("&Exchange Rates"),"gl/manage/exchange_rates.php?"); - - $this->add_rapp_function(2, _("&GL Accounts"),"gl/manage/gl_accounts.php?"); - $this->add_rapp_function(2, _("GL Account &Groups"),"gl/manage/gl_account_types.php?"); - $this->add_rapp_function(2, _("GL Account &Classes"),"gl/manage/gl_account_classes.php?"); - if (count($installed_modules) > 0) - { - foreach ($installed_modules as $mod) - { - if ($mod["tab"] == "GL") - $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?"); - } - } - } + $this->application("GL", _($this->help_context = "&Banking and General Ledger")); + + $this->add_module(_("Transactions")); + $this->add_lapp_function(0, _("&Payments"), + "gl/gl_bank.php?NewPayment=Yes", 'SA_PAYMENT'); + $this->add_lapp_function(0, _("&Deposits"), + "gl/gl_bank.php?NewDeposit=Yes", 'SA_DEPOSIT'); + $this->add_lapp_function(0, _("Bank Account &Transfers"), + "gl/bank_transfer.php?", 'SA_BANKTRANSFER'); + $this->add_rapp_function(0, _("&Journal Entry"), + "gl/gl_journal.php?NewJournal=Yes", 'SA_JOURNALENTRY'); + $this->add_rapp_function(0, _("&Budget Entry"), + "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 &Inquiry"), + "gl/inquiry/gl_account_inquiry.php?", 'SA_GLTRANSVIEW'); + $this->add_lapp_function(1, _("Bank Account &Inquiry"), + "gl/inquiry/bank_inquiry.php?", 'SA_BANKTRANSVIEW'); + $this->add_lapp_function(1, _("Ta&x Inquiry"), + "gl/inquiry/tax_inquiry.php?", 'SA_TAXREP'); + + $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"), + "reporting/reports_main.php?Class=6", 'SA_GLREP'); + + $this->add_module(_("Maintenance")); + $this->add_lapp_function(2, _("Bank &Accounts"), + "gl/manage/bank_accounts.php?", 'SA_BANKACCOUNT'); + $this->add_lapp_function(2, _("&Quick Entries"), + "gl/manage/gl_quick_entries.php?", 'SA_QUICKENTRY'); + $this->add_lapp_function(2, _("Account &Tags"), + "admin/tags.php?type=account", 'SA_GLACCOUNTTAGS'); + $this->add_lapp_function(2, "",""); + $this->add_lapp_function(2, _("&Currencies"), + "gl/manage/currencies.php?", 'SA_CURRENCY'); + $this->add_lapp_function(2, _("&Exchange Rates"), + "gl/manage/exchange_rates.php?", 'SA_EXCHANGERATE'); + + $this->add_rapp_function(2, _("&GL Accounts"), + "gl/manage/gl_accounts.php?", 'SA_GLACCOUNT'); + $this->add_rapp_function(2, _("GL Account &Groups"), + "gl/manage/gl_account_types.php?", 'SA_GLACCOUNTGROUP'); + $this->add_rapp_function(2, _("GL Account &Classes"), + "gl/manage/gl_account_classes.php?", 'SA_GLACCOUNTCLASS'); + $this->add_rapp_function(2, "",""); + $this->add_rapp_function(2, _("&Revaluation of Currency Accounts"), + "gl/manage/revaluate_currencies.php?", 'SA_EXCHANGERATE'); + + $this->add_extensions(); } +} ?> \ No newline at end of file