Feature 5388: Print Invoices (documents) list gets too long. Fixed by default 180...
[fa-stable.git] / applications / inventory.php
index 1c4b4277461396c501873ba3794cb27e1e208ac1..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"),