[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / applications / inventory.php
index 30fd7b4ae9c1f2fbde72fbadf7d895a4045a567c..e1c941f61f8adb9fd5fc4823b4e8449d30602b6b 100644 (file)
@@ -11,9 +11,9 @@
 ***********************************************************************/
 class inventory_app extends application
 {
-       function inventory_app()
+       function __construct()
        {
-               $this->application("stock", _($this->help_context = "&Items and Inventory"));
+               parent::__construct("stock", _($this->help_context = "&Items and Inventory"));
 
                $this->add_module(_("Transactions"));
                $this->add_lapp_function(0, _("Inventory Location &Transfers"),
@@ -38,10 +38,8 @@ class inventory_app extends application
                        "inventory/manage/sales_kits.php?", 'SA_SALESKIT', MENU_MAINTENANCE);
                $this->add_lapp_function(2, _("Item &Categories"),
                        "inventory/manage/item_categories.php?", 'SA_ITEMCATEGORY', MENU_MAINTENANCE);
-               $this->add_lapp_function(2, _("Inventory &Locations"),
+               $this->add_rapp_function(2, _("Inventory &Locations"),
                        "inventory/manage/locations.php?", 'SA_INVENTORYLOCATION', MENU_MAINTENANCE);
-               $this->add_rapp_function(2, _("Inventory &Movement Types"),
-                       "inventory/manage/movement_types.php?", 'SA_INVENTORYMOVETYPE', MENU_MAINTENANCE);
                $this->add_rapp_function(2, _("&Units of Measure"),
                        "inventory/manage/item_units.php?", 'SA_UOM', MENU_MAINTENANCE);
                $this->add_rapp_function(2, _("&Reorder Levels"),
@@ -60,4 +58,3 @@ class inventory_app extends application
 }
 
 
-?>
\ No newline at end of file