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 inventory_app()
16 $this->application("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');
21 $this->add_lapp_function(0, _("Inventory &Adjustments"),
22 "inventory/adjustments.php?NewAdjustment=1", 'SA_INVENTORYADJUSTMENT');
24 $this->add_module(_("Inquiries and Reports"));
25 $this->add_lapp_function(1, _("Inventory Item &Movements"),
26 "inventory/inquiry/stock_movements.php?", 'SA_ITEMSTRANSVIEW');
27 $this->add_lapp_function(1, _("Inventory Item &Status"),
28 "inventory/inquiry/stock_status.php?", 'SA_ITEMSSTATVIEW');
29 $this->add_rapp_function(1, _("Inventory &Reports"),
30 "reporting/reports_main.php?Class="._("Inventory"), 'SA_ITEMSTRANSVIEW');
32 $this->add_module(_("Maintenance"));
33 $this->add_lapp_function(2, _("&Items"),
34 "inventory/manage/items.php?", 'SA_ITEM');
35 $this->add_lapp_function(2, _("&Foreign Item Codes"),
36 "inventory/manage/item_codes.php?", 'SA_FORITEMCODE');
37 $this->add_lapp_function(2, _("Sales &Kits"),
38 "inventory/manage/sales_kits.php?", 'SA_SALESKIT');
39 $this->add_lapp_function(2, _("Item &Categories"),
40 "inventory/manage/item_categories.php?", 'SA_ITEMCATEGORY');
41 $this->add_lapp_function(2, _("Inventory &Locations"),
42 "inventory/manage/locations.php?", 'SA_INVENTORYLOCATION');
43 $this->add_rapp_function(2, _("Inventory &Movement Types"),
44 "inventory/manage/movement_types.php?", 'SA_INVENTORYMOVETYPE');
45 $this->add_rapp_function(2, _("&Units of Measure"),
46 "inventory/manage/item_units.php?", 'SA_UOM');
47 $this->add_rapp_function(2, _("&Reorder Levels"),
48 "inventory/reorder_level.php?", 'SA_REORDER');
50 $this->add_module(_("Pricing and Costs"));
51 $this->add_lapp_function(3, _("Sales &Pricing"),
52 "inventory/prices.php?", 'SA_SALESPRICE');
53 $this->add_lapp_function(3, _("Purchasing &Pricing"),
54 "inventory/purchasing_data.php?", 'SA_PURCHASEPRICING');
55 $this->add_rapp_function(3, _("Standard &Costs"),
56 "inventory/cost_update.php?", 'SA_STANDARDCOST');
58 $this->add_extensions();