X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Finventory.php;h=e1c941f61f8adb9fd5fc4823b4e8449d30602b6b;hb=7e6e0807990447d2977b970c3a0fd28dc9250194;hp=1c4b4277461396c501873ba3794cb27e1e208ac1;hpb=17b390efcf904072b02ec866b2a427490471a260;p=fa-stable.git diff --git a/applications/inventory.php b/applications/inventory.php index 1c4b4277..e1c941f6 100644 --- a/applications/inventory.php +++ b/applications/inventory.php @@ -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"),