Recurrent Invoices: fixed buggy call to non existing function and payment terms type...
[fa-stable.git] / applications / setup.php
index 99fa48d52b9278a59808eeec49d96d28039274ec..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"),
@@ -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"),