X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fgeneralledger.php;h=4b5ac702560244ebcac4edf484975fcf8a8be05e;hb=0cbe5791fbc7f09ab9dda6b92d1ae27e61d26953;hp=670f27aace65cd2b590d78f6ef7c06241b805ab7;hpb=271a0acb700da2fb593301e42d0c088155dc28ca;p=fa-stable.git diff --git a/applications/generalledger.php b/applications/generalledger.php index 670f27aa..4b5ac702 100644 --- a/applications/generalledger.php +++ b/applications/generalledger.php @@ -11,25 +11,25 @@ ***********************************************************************/ 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"), - "gl/gl_bank.php?NewPayment=Yes", 'SA_PAYMENT', MENU_ENTRY); + "gl/gl_bank.php?NewPayment=Yes", 'SA_PAYMENT', MENU_TRANSACTION); $this->add_lapp_function(0, _("&Deposits"), - "gl/gl_bank.php?NewDeposit=Yes", 'SA_DEPOSIT', MENU_ENTRY); + "gl/gl_bank.php?NewDeposit=Yes", 'SA_DEPOSIT', MENU_TRANSACTION); $this->add_lapp_function(0, _("Bank Account &Transfers"), - "gl/bank_transfer.php?", 'SA_BANKTRANSFER', MENU_ENTRY); + "gl/bank_transfer.php?", 'SA_BANKTRANSFER', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Journal Entry"), - "gl/gl_journal.php?NewJournal=Yes", 'SA_JOURNALENTRY', MENU_ENTRY); + "gl/gl_journal.php?NewJournal=Yes", 'SA_JOURNALENTRY', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Budget Entry"), - "gl/gl_budget.php?", 'SA_BUDGETENTRY', MENU_ENTRY); + "gl/gl_budget.php?", 'SA_BUDGETENTRY', MENU_TRANSACTION); $this->add_rapp_function(0, _("&Reconcile Bank Account"), - "gl/bank_account_reconcile.php?", 'SA_RECONCILE', MENU_INQUIRY); + "gl/bank_account_reconcile.php?", 'SA_RECONCILE', MENU_TRANSACTION); $this->add_rapp_function(0, _("Revenue / &Costs Accruals"), - "gl/accruals.php?", 'SA_ACCRUALS', MENU_INQUIRY); + "gl/accruals.php?", 'SA_ACCRUALS', MENU_TRANSACTION); $this->add_module(_("Inquiries and Reports")); $this->add_lapp_function(1, _("&Journal Inquiry"), @@ -54,7 +54,7 @@ class general_ledger_app extends application $this->add_module(_("Maintenance")); $this->add_lapp_function(2, _("Bank &Accounts"), - "gl/manage/bank_accounts.php?", 'SA_BANKACCOUNT', MENU_ENTRY); + "gl/manage/bank_accounts.php?", 'SA_BANKACCOUNT', MENU_MAINTENANCE); $this->add_lapp_function(2, _("&Quick Entries"), "gl/manage/gl_quick_entries.php?", 'SA_QUICKENTRY', MENU_MAINTENANCE); $this->add_lapp_function(2, _("Account &Tags"), @@ -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_GLCLOSE', 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