Fixed tab hot keys.
[fa-stable.git] / applications / setup.php
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 ***********************************************************************/
12         class setup_app extends application
13         {
14                 function setup_app()
15                 {
16                         global $installed_modules;
17                         $this->application("system",_("S&etup"));
18
19                         $this->add_module(_("Company Setup"));
20                         $this->add_lapp_function(0, _("&Company Setup"),"admin/company_preferences.php?");
21                         $this->add_lapp_function(0, _("&User Accounts Setup"),"admin/users.php?", 15);
22                         $this->add_lapp_function(0, "","");
23                         $this->add_lapp_function(0, _("&Display Setup"),"admin/display_prefs.php?");
24                         $this->add_lapp_function(0, _("&Forms Setup"),"admin/forms_setup.php?");
25                         $this->add_rapp_function(0, _("&Taxes"),"taxes/tax_types.php?");
26                         $this->add_rapp_function(0, _("Tax &Groups"),"taxes/tax_groups.php?");
27                         $this->add_rapp_function(0, "","");
28                         $this->add_rapp_function(0, _("System and &General GL Setup"),"admin/gl_setup.php?");
29                         $this->add_rapp_function(0, _("&Fiscal Years"),"admin/fiscalyears.php?");
30                         $this->add_rapp_function(0, _("&Print Profiles"),"admin/print_profiles.php?");
31
32                         $this->add_module(_("Miscellaneous"));
33                         $this->add_lapp_function(1, _("Pa&yment Terms"),"admin/payment_terms.php?");
34                         $this->add_lapp_function(1, _("Shi&pping Company"),"admin/shipping_companies.php?");
35                         $this->add_rapp_function(1, _("&Points of Sale"),"sales/manage/sales_points.php?");
36                         $this->add_rapp_function(1, _("&Printers"),"admin/printers.php?");
37
38                         $this->add_module(_("Maintanance"));
39                         $this->add_lapp_function(2, _("&Void a Transaction"),"admin/void_transaction.php?");
40                         $this->add_lapp_function(2, _("View or &Print Transactions"),"admin/view_print_transaction.php?");
41                         $this->add_lapp_function(2, _("&Attach Documents"),"admin/attachments.php?filterType=20");
42                         $this->add_rapp_function(2, _("&Backup and Restore"),"admin/backups.php?", 15);
43                         $this->add_rapp_function(2, _("Create/Update &Companies"),"admin/create_coy.php?", 14);
44                         $this->add_rapp_function(2, _("Install/Update &Languages"),"admin/inst_lang.php?", 14);
45                         $this->add_rapp_function(2, _("Install/Update &Modules"),"admin/inst_module.php?", 15);
46                         $this->add_rapp_function(2, _("Software &Upgrade"),"admin/inst_upgrade.php?", 15);
47                         if (count($installed_modules) > 0)
48                         {
49                                 foreach ($installed_modules as $mod)
50                                 {
51                                         if ($mod["tab"] == "system")
52                                                 $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?");
53                                 }
54                         }
55                 }
56         }
57
58
59 ?>