2 /**********************************************************************
3 Copyright (C) FrontAccounting, LLC.
4 Released under the terms of the GNU General Public License, GPL,
5 as published by the Free Software Foundation, either version 3
6 of the License, or (at your option) any later version.
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
11 ***********************************************************************/
12 class setup_app extends application
16 $this->application("system", _($this->help_context = "S&etup"));
18 $this->add_module(_("Company Setup"));
19 $this->add_lapp_function(0, _("&Company Setup"),
20 "admin/company_preferences.php?", 'SA_SETUPCOMPANY');
21 $this->add_lapp_function(0, _("&User Accounts Setup"),
22 "admin/users.php?", 'SA_USERS');
23 $this->add_lapp_function(0, _("&Access Setup"),
24 "admin/security_roles.php?", 'SA_SECROLES');
25 $this->add_lapp_function(0, _("&Display Setup"),
26 "admin/display_prefs.php?", 'SA_SETUPDISPLAY');
27 $this->add_lapp_function(0, _("&Forms Setup"),
28 "admin/forms_setup.php?", 'SA_FORMSETUP');
29 $this->add_rapp_function(0, _("&Taxes"),
30 "taxes/tax_types.php?", 'SA_TAXRATES');
31 $this->add_rapp_function(0, _("Tax &Groups"),
32 "taxes/tax_groups.php?", 'SA_TAXGROUPS');
33 $this->add_rapp_function(0, _("Item Ta&x Types"),
34 "taxes/item_tax_types.php?", 'SA_ITEMTAXTYPE');
35 $this->add_rapp_function(0, _("System and &General GL Setup"),
36 "admin/gl_setup.php?", 'SA_GLSETUP');
37 $this->add_rapp_function(0, _("&Fiscal Years"),
38 "admin/fiscalyears.php?", 'SA_FISCALYEARS');
39 $this->add_rapp_function(0, _("&Print Profiles"),
40 "admin/print_profiles.php?", 'SA_PRINTPROFILE');
42 $this->add_module(_("Miscellaneous"));
43 $this->add_lapp_function(1, _("Pa&yment Terms"),
44 "admin/payment_terms.php?", 'SA_PAYTERMS');
45 $this->add_lapp_function(1, _("Shi&pping Company"),
46 "admin/shipping_companies.php?", 'SA_SHIPPING');
47 $this->add_rapp_function(1, _("&Points of Sale"),
48 "sales/manage/sales_points.php?", 'SA_POSSETUP');
49 $this->add_rapp_function(1, _("&Printers"),
50 "admin/printers.php?", 'SA_PRINTERS');
51 $this->add_rapp_function(1, _("Contact &Categories"),
52 "admin/crm_categories.php?", 'SA_CRMCATEGORY');
54 $this->add_module(_("Maintenance"));
55 $this->add_lapp_function(2, _("&Void a Transaction"),
56 "admin/void_transaction.php?", 'SA_VOIDTRANSACTION');
57 $this->add_lapp_function(2, _("View or &Print Transactions"),
58 "admin/view_print_transaction.php?", 'SA_VIEWPRINTTRANSACTION');
59 $this->add_lapp_function(2, _("&Attach Documents"),
60 "admin/attachments.php?filterType=20", 'SA_ATTACHDOCUMENT');
61 $this->add_lapp_function(2, _("System &Diagnostics"),
62 "admin/system_diagnostics.php?", 'SA_OPEN');
64 $this->add_rapp_function(2, _("&Backup and Restore"),
65 "admin/backups.php?", 'SA_BACKUP');
66 $this->add_rapp_function(2, _("Create/Update &Companies"),
67 "admin/create_coy.php?", 'SA_CREATECOMPANY');
68 $this->add_rapp_function(2, _("Install/Update &Languages"),
69 "admin/inst_lang.php?", 'SA_CREATELANGUAGE');
70 $this->add_rapp_function(2, _("Install/Activate &Extensions"),
71 "admin/inst_module.php?", 'SA_CREATEMODULES');
72 $this->add_rapp_function(2, _("Install/Activate &Themes"),
73 "admin/inst_theme.php?", 'SA_CREATEMODULES');
74 $this->add_rapp_function(2, _("Software &Upgrade"),
75 "admin/inst_upgrade.php?", 'SA_SOFTWAREUPGRADE');
77 $this->add_extensions();