Allowed multiply bank accounts on same gl account, removed bank trans type.
[fa-stable.git] / applications / inventory.php
1 <?php
2
3         include_once("./modules/installed_modules.php");
4         class inventory_app extends application 
5         {
6                 function inventory_app() 
7                 {
8                         global $installed_modules;
9                         $this->application("stock",_("Items and Inventory"));
10
11                         $this->add_module(_("Transactions"));
12                         $this->add_lapp_function(0, _("Inventory Location &Transfers"),"inventory/transfers.php?NewTransfer=1");
13                         $this->add_lapp_function(0, _("Inventory &Adjustments"),"inventory/adjustments.php?NewAdjustment=1");
14
15                         $this->add_module(_("Inquiries and Reports"));
16                         $this->add_lapp_function(1, _("Inventory Item &Movements"),"inventory/inquiry/stock_movements.php?");
17                         $this->add_lapp_function(1, _("Inventory Item &Status"),"inventory/inquiry/stock_status.php?");
18                         $this->add_rapp_function(1, _("Inventory &Reports"),"reporting/reports_main.php?Class=2");
19
20                         $this->add_module(_("Maintenance"));
21                         $this->add_lapp_function(2, _("&Items"),"inventory/manage/items.php?");
22                         $this->add_lapp_function(2, _("Item &Categories"),"inventory/manage/item_categories.php?");
23                         $this->add_lapp_function(2, _("Inventory &Locations"),"inventory/manage/locations.php?");
24                         $this->add_rapp_function(2, _("Inventory &Movement Types"),"inventory/manage/movement_types.php?");
25                         $this->add_rapp_function(2, _("Item Ta&x Types"),"taxes/item_tax_types.php?");
26                         $this->add_rapp_function(2, _("&Units of Measure"),"inventory/manage/item_units.php?");
27                         $this->add_rapp_function(2, _("&Reorder Levels"),"inventory/reorder_level.php?");
28
29                         $this->add_module(_("Pricing and Costs"));
30                         $this->add_lapp_function(3, _("Sales &Pricing"),"inventory/prices.php?");
31                         $this->add_lapp_function(3, _("Purchasing &Pricing"),"inventory/purchasing_data.php?");
32                         $this->add_rapp_function(3, _("Standard &Costs"),"inventory/cost_update.php?");
33                         if (count($installed_modules) > 0)
34                         {
35                                 foreach ($installed_modules as $mod)
36                                 {
37                                         if ($mod["tab"] == "stock")
38                                                 $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?");
39                                 }
40                         }       
41                 }
42         }
43
44
45 ?>