Rewritten sales shipping cost taxation, improved shipping cost handling in sales...
[fa-stable.git] / applications / setup.php
index e29817be5108d5f1dbfabf259516aa93f064a7dd..9b2e1118628e0d543fc1502a329b9f6c2596f1eb 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 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"),
@@ -24,7 +24,7 @@ class setup_app extends application
                        "admin/security_roles.php?", 'SA_SECROLES', MENU_SETTINGS);
                $this->add_lapp_function(0, _("&Display Setup"),
                        "admin/display_prefs.php?", 'SA_SETUPDISPLAY', MENU_SETTINGS);
-               $this->add_lapp_function(0, _("&Forms Setup"),
+               $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', MENU_MAINTENANCE);
@@ -44,6 +44,8 @@ class setup_app extends application
                        "admin/payment_terms.php?", 'SA_PAYTERMS', MENU_MAINTENANCE);
                $this->add_lapp_function(1, _("Shi&pping Company"),
                        "admin/shipping_companies.php?", 'SA_SHIPPING', MENU_MAINTENANCE);
+               $this->add_lapp_function(1, _("Shipping &Options"),
+                       "inventory/manage/items.php?type=T", 'SA_SHIPPING', MENU_ENTRY);
                $this->add_rapp_function(1, _("&Points of Sale"),
                        "sales/manage/sales_points.php?", 'SA_POSSETUP', MENU_MAINTENANCE);
                $this->add_rapp_function(1, _("&Printers"),