2 /**********************************************************************
3 Copyright (C) FrontAccounting, LLC.
4 Released under the terms of the GNU General Public License, GPL,
5 as published by the Free Software Foundation, either version 3
6 of the License, or (at your option) any later version.
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
11 ***********************************************************************/
12 class inventory_app extends application
14 function __construct()
16 parent::__construct("stock", _($this->help_context = "&Items and Inventory"));
18 $this->add_module(_("Transactions"));
19 $this->add_lapp_function(0, _("Inventory Location &Transfers"),
20 "inventory/transfers.php?NewTransfer=1", 'SA_LOCATIONTRANSFER', MENU_TRANSACTION);
21 $this->add_lapp_function(0, _("Inventory &Adjustments"),
22 "inventory/adjustments.php?NewAdjustment=1", 'SA_INVENTORYADJUSTMENT', MENU_TRANSACTION);
24 $this->add_module(_("Inquiries and Reports"));
25 $this->add_lapp_function(1, _("Inventory Item &Movements"),
26 "inventory/inquiry/stock_movements.php?", 'SA_ITEMSTRANSVIEW', MENU_INQUIRY);
27 $this->add_lapp_function(1, _("Inventory Item &Status"),
28 "inventory/inquiry/stock_status.php?", 'SA_ITEMSSTATVIEW', MENU_INQUIRY);
29 $this->add_rapp_function(1, _("Inventory &Reports"),
30 "reporting/reports_main.php?Class=2", 'SA_ITEMSTRANSVIEW', MENU_REPORT);
32 $this->add_module(_("Maintenance"));
33 $this->add_lapp_function(2, _("&Items"),
34 "inventory/manage/items.php?", 'SA_ITEM', MENU_ENTRY);
35 $this->add_lapp_function(2, _("&Foreign Item Codes"),
36 "inventory/manage/item_codes.php?", 'SA_FORITEMCODE', MENU_MAINTENANCE);
37 $this->add_lapp_function(2, _("Sales &Kits"),
38 "inventory/manage/sales_kits.php?", 'SA_SALESKIT', MENU_MAINTENANCE);
39 $this->add_lapp_function(2, _("Item &Categories"),
40 "inventory/manage/item_categories.php?", 'SA_ITEMCATEGORY', MENU_MAINTENANCE);
41 $this->add_rapp_function(2, _("Inventory &Locations"),
42 "inventory/manage/locations.php?", 'SA_INVENTORYLOCATION', MENU_MAINTENANCE);
43 $this->add_rapp_function(2, _("&Units of Measure"),
44 "inventory/manage/item_units.php?", 'SA_UOM', MENU_MAINTENANCE);
45 $this->add_rapp_function(2, _("&Reorder Levels"),
46 "inventory/reorder_level.php?", 'SA_REORDER', MENU_MAINTENANCE);
48 $this->add_module(_("Pricing and Costs"));
49 $this->add_lapp_function(3, _("Sales &Pricing"),
50 "inventory/prices.php?", 'SA_SALESPRICE', MENU_MAINTENANCE);
51 $this->add_lapp_function(3, _("Purchasing &Pricing"),
52 "inventory/purchasing_data.php?", 'SA_PURCHASEPRICING', MENU_MAINTENANCE);
53 $this->add_rapp_function(3, _("Standard &Costs"),
54 "inventory/cost_update.php?", 'SA_STANDARDCOST', MENU_MAINTENANCE);
56 $this->add_extensions();