X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fsetup.php;h=5f29aff11f8cac3a00e861c1972a800e67525857;hb=7e6e0807990447d2977b970c3a0fd28dc9250194;hp=3e2f3b8681406a9fc15a43cd49277ff9f703c146;hpb=801daf613bf5f99332f1b21a9710ad69d30de4e9;p=fa-stable.git diff --git a/applications/setup.php b/applications/setup.php index 3e2f3b86..5f29aff1 100644 --- a/applications/setup.php +++ b/applications/setup.php @@ -11,74 +11,73 @@ ***********************************************************************/ class setup_app extends application { - function setup_app() + function __construct() { - $this->application("system", _($this->help_context = "S&etup")); + parent::__construct("system", _($this->help_context = "S&etup")); $this->add_module(_("Company Setup")); $this->add_lapp_function(0, _("&Company Setup"), - "admin/company_preferences.php?", 'SA_SETUPCOMPANY'); + "admin/company_preferences.php?", 'SA_SETUPCOMPANY', MENU_SETTINGS); $this->add_lapp_function(0, _("&User Accounts Setup"), - "admin/users.php?", 'SA_USERS'); + "admin/users.php?", 'SA_USERS', MENU_SETTINGS); $this->add_lapp_function(0, _("&Access Setup"), - "admin/security_roles.php?", 'SA_SECROLES'); + "admin/security_roles.php?", 'SA_SECROLES', MENU_SETTINGS); $this->add_lapp_function(0, _("&Display Setup"), - "admin/display_prefs.php?", 'SA_SETUPDISPLAY'); - $this->add_lapp_function(0, _("&Forms Setup"), - "admin/forms_setup.php?", 'SA_FORMSETUP'); + "admin/display_prefs.php?", 'SA_SETUPDISPLAY', MENU_SETTINGS); + $this->add_lapp_function(0, _("Transaction &References"), + "admin/forms_setup.php?", 'SA_FORMSETUP', MENU_SETTINGS); $this->add_rapp_function(0, _("&Taxes"), - "taxes/tax_types.php?", 'SA_TAXRATES'); + "taxes/tax_types.php?", 'SA_TAXRATES', MENU_MAINTENANCE); $this->add_rapp_function(0, _("Tax &Groups"), - "taxes/tax_groups.php?", 'SA_TAXGROUPS'); + "taxes/tax_groups.php?", 'SA_TAXGROUPS', MENU_MAINTENANCE); $this->add_rapp_function(0, _("Item Ta&x Types"), - "taxes/item_tax_types.php?", 'SA_ITEMTAXTYPE'); + "taxes/item_tax_types.php?", 'SA_ITEMTAXTYPE', MENU_MAINTENANCE); $this->add_rapp_function(0, _("System and &General GL Setup"), - "admin/gl_setup.php?", 'SA_GLSETUP'); + "admin/gl_setup.php?", 'SA_GLSETUP', MENU_SETTINGS); $this->add_rapp_function(0, _("&Fiscal Years"), - "admin/fiscalyears.php?", 'SA_FISCALYEARS'); + "admin/fiscalyears.php?", 'SA_FISCALYEARS', MENU_MAINTENANCE); $this->add_rapp_function(0, _("&Print Profiles"), - "admin/print_profiles.php?", 'SA_PRINTPROFILE'); + "admin/print_profiles.php?", 'SA_PRINTPROFILE', MENU_MAINTENANCE); $this->add_module(_("Miscellaneous")); $this->add_lapp_function(1, _("Pa&yment Terms"), - "admin/payment_terms.php?", 'SA_PAYTERMS'); + "admin/payment_terms.php?", 'SA_PAYTERMS', MENU_MAINTENANCE); $this->add_lapp_function(1, _("Shi&pping Company"), - "admin/shipping_companies.php?", 'SA_SHIPPING'); + "admin/shipping_companies.php?", 'SA_SHIPPING', MENU_MAINTENANCE); $this->add_rapp_function(1, _("&Points of Sale"), - "sales/manage/sales_points.php?", 'SA_POSSETUP'); + "sales/manage/sales_points.php?", 'SA_POSSETUP', MENU_MAINTENANCE); $this->add_rapp_function(1, _("&Printers"), - "admin/printers.php?", 'SA_PRINTERS'); + "admin/printers.php?", 'SA_PRINTERS', MENU_MAINTENANCE); $this->add_rapp_function(1, _("Contact &Categories"), - "admin/crm_categories.php?", 'SA_CRMCATEGORY'); + "admin/crm_categories.php?", 'SA_CRMCATEGORY', MENU_MAINTENANCE); $this->add_module(_("Maintenance")); $this->add_lapp_function(2, _("&Void a Transaction"), - "admin/void_transaction.php?", 'SA_VOIDTRANSACTION'); + "admin/void_transaction.php?", 'SA_VOIDTRANSACTION', MENU_MAINTENANCE); $this->add_lapp_function(2, _("View or &Print Transactions"), - "admin/view_print_transaction.php?", 'SA_VIEWPRINTTRANSACTION'); + "admin/view_print_transaction.php?", 'SA_VIEWPRINTTRANSACTION', MENU_MAINTENANCE); $this->add_lapp_function(2, _("&Attach Documents"), - "admin/attachments.php?filterType=20", 'SA_ATTACHDOCUMENT'); + "admin/attachments.php?filterType=20", 'SA_ATTACHDOCUMENT', MENU_MAINTENANCE); $this->add_lapp_function(2, _("System &Diagnostics"), - "admin/system_diagnostics.php?", 'SA_OPEN'); + "admin/system_diagnostics.php?", 'SA_SOFTWAREUPGRADE', MENU_SYSTEM); $this->add_rapp_function(2, _("&Backup and Restore"), - "admin/backups.php?", 'SA_BACKUP'); + "admin/backups.php?", 'SA_BACKUP', MENU_SYSTEM); $this->add_rapp_function(2, _("Create/Update &Companies"), - "admin/create_coy.php?", 'SA_CREATECOMPANY'); + "admin/create_coy.php?", 'SA_CREATECOMPANY', MENU_UPDATE); $this->add_rapp_function(2, _("Install/Update &Languages"), - "admin/inst_lang.php?", 'SA_CREATELANGUAGE'); + "admin/inst_lang.php?", 'SA_CREATELANGUAGE', MENU_UPDATE); $this->add_rapp_function(2, _("Install/Activate &Extensions"), - "admin/inst_module.php?", 'SA_CREATEMODULES'); + "admin/inst_module.php?", 'SA_CREATEMODULES', MENU_UPDATE); $this->add_rapp_function(2, _("Install/Activate &Themes"), - "admin/inst_theme.php?", 'SA_CREATEMODULES'); + "admin/inst_theme.php?", 'SA_CREATEMODULES', MENU_UPDATE); $this->add_rapp_function(2, _("Install/Activate &Chart of Accounts"), - "admin/inst_chart.php?", 'SA_CREATEMODULES'); + "admin/inst_chart.php?", 'SA_CREATEMODULES', MENU_UPDATE); $this->add_rapp_function(2, _("Software &Upgrade"), - "admin/inst_upgrade.php?", 'SA_SOFTWAREUPGRADE'); + "admin/inst_upgrade.php?", 'SA_SOFTWAREUPGRADE', MENU_UPDATE); $this->add_extensions(); } } -?> \ No newline at end of file