X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Finventory.php;h=e1c941f61f8adb9fd5fc4823b4e8449d30602b6b;hb=14e0807fc87e0096af43f414f98764a6f8c8a4a8;hp=30fd7b4ae9c1f2fbde72fbadf7d895a4045a567c;hpb=271a0acb700da2fb593301e42d0c088155dc28ca;p=fa-stable.git diff --git a/applications/inventory.php b/applications/inventory.php index 30fd7b4a..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"), @@ -60,4 +58,3 @@ class inventory_app extends application } -?> \ No newline at end of file