1<?php
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***********************************************************************/
12class setup_app extends application
13{
14	function setup_app()
15	{
16		$this->application("system", _($this->help_context = "S&etup"));
17
18		$this->add_module(_("Company Setup"));
19		$this->add_lapp_function(0, _("&Company Setup"),
20			"admin/company_preferences.php?", 'SA_SETUPCOMPANY', MENU_SETTINGS);
21		$this->add_lapp_function(0, _("&User Accounts Setup"),
22			"admin/users.php?", 'SA_USERS', MENU_SETTINGS);
23		$this->add_lapp_function(0, _("&Access Setup"),
24			"admin/security_roles.php?", 'SA_SECROLES', MENU_SETTINGS);
25		$this->add_lapp_function(0, _("&Display Setup"),
26			"admin/display_prefs.php?", 'SA_SETUPDISPLAY', MENU_SETTINGS);
27		$this->add_lapp_function(0, _("&Forms Setup"),
28			"admin/forms_setup.php?", 'SA_FORMSETUP', MENU_SETTINGS);
29		$this->add_rapp_function(0, _("&Taxes"),
30			"taxes/tax_types.php?", 'SA_TAXRATES', MENU_MAINTENANCE);
31		$this->add_rapp_function(0, _("Tax &Groups"),
32			"taxes/tax_groups.php?", 'SA_TAXGROUPS', MENU_MAINTENANCE);
33		$this->add_rapp_function(0, _("Item Ta&x Types"),
34			"taxes/item_tax_types.php?", 'SA_ITEMTAXTYPE', MENU_MAINTENANCE);
35		$this->add_rapp_function(0, _("System and &General GL Setup"),
36			"admin/gl_setup.php?", 'SA_GLSETUP', MENU_SETTINGS);
37		$this->add_rapp_function(0, _("&Fiscal Years"),
38			"admin/fiscalyears.php?", 'SA_FISCALYEARS', MENU_MAINTENANCE);
39		$this->add_rapp_function(0, _("&Print Profiles"),
40			"admin/print_profiles.php?", 'SA_PRINTPROFILE', MENU_MAINTENANCE);
41
42		$this->add_module(_("Miscellaneous"));
43		$this->add_lapp_function(1, _("Pa&yment Terms"),
44			"admin/payment_terms.php?", 'SA_PAYTERMS', MENU_MAINTENANCE);
45		$this->add_lapp_function(1, _("Shi&pping Company"),
46			"admin/shipping_companies.php?", 'SA_SHIPPING', MENU_MAINTENANCE);
47		$this->add_rapp_function(1, _("&Points of Sale"),
48			"sales/manage/sales_points.php?", 'SA_POSSETUP', MENU_MAINTENANCE);
49		$this->add_rapp_function(1, _("&Printers"),
50			"admin/printers.php?", 'SA_PRINTERS', MENU_MAINTENANCE);
51		$this->add_rapp_function(1, _("Contact &Categories"),
52			"admin/crm_categories.php?", 'SA_CRMCATEGORY', MENU_MAINTENANCE);
53
54		$this->add_module(_("Maintenance"));
55		$this->add_lapp_function(2, _("&Void a Transaction"),
56			"admin/void_transaction.php?", 'SA_VOIDTRANSACTION', MENU_MAINTENANCE);
57		$this->add_lapp_function(2, _("View or &Print Transactions"),
58			"admin/view_print_transaction.php?", 'SA_VIEWPRINTTRANSACTION', MENU_MAINTENANCE);
59		$this->add_lapp_function(2, _("&Attach Documents"),
60			"admin/attachments.php?filterType=20", 'SA_ATTACHDOCUMENT', MENU_MAINTENANCE);
61		$this->add_lapp_function(2, _("System &Diagnostics"),
62			"admin/system_diagnostics.php?", 'SA_SOFTWAREUPGRADE', MENU_SYSTEM);
63
64		$this->add_rapp_function(2, _("&Backup and Restore"),
65			"admin/backups.php?", 'SA_BACKUP', MENU_SYSTEM);
66		$this->add_rapp_function(2, _("Create/Update &Companies"),
67			"admin/create_coy.php?", 'SA_CREATECOMPANY', MENU_UPDATE);
68		$this->add_rapp_function(2, _("Install/Update &Languages"),
69			"admin/inst_lang.php?", 'SA_CREATELANGUAGE', MENU_UPDATE);
70		$this->add_rapp_function(2, _("Install/Activate &Extensions"),
71			"admin/inst_module.php?", 'SA_CREATEMODULES', MENU_UPDATE);
72		$this->add_rapp_function(2, _("Install/Activate &Themes"),
73			"admin/inst_theme.php?", 'SA_CREATEMODULES', MENU_UPDATE);
74		$this->add_rapp_function(2, _("Install/Activate &Chart of Accounts"),
75			"admin/inst_chart.php?", 'SA_CREATEMODULES', MENU_UPDATE);
76		$this->add_rapp_function(2, _("Software &Upgrade"),
77			"admin/inst_upgrade.php?", 'SA_SOFTWAREUPGRADE', MENU_UPDATE);
78
79		$this->add_extensions();
80	}
81}
82
83
84?>