X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Finventory.php;h=5fa7d5e1b6b9c4d9fbca08dcff22cf07870b01d6;hb=c7a6b173102b5df624ce18780e057b3d61953ce6;hp=2f7d8eb6e5fcafed4c202f7e7eb989ebd4a3fa1f;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/applications/inventory.php b/applications/inventory.php index 2f7d8eb6..5fa7d5e1 100644 --- a/applications/inventory.php +++ b/applications/inventory.php @@ -1,35 +1,45 @@ -application("stock",_("Items and Inventory")); - - $this->add_module(_("Transactions")); - $this->add_lapp_function(0, _("Inventory Location Transfers"),"inventory/transfers.php?NewTransfer=1"); - $this->add_lapp_function(0, _("Inventory Adjustments"),"inventory/adjustments.php?NewAdjustment=1"); - - $this->add_module(_("Inquiries and Reports")); - $this->add_lapp_function(1, _("Inventory Item Movements"),"inventory/inquiry/stock_movements.php?"); - $this->add_lapp_function(1, _("Inventory Item Status"),"inventory/inquiry/stock_status.php?"); - $this->add_rapp_function(1, _("Inventory Reports"),"reporting/reports_main.php?Class=2"); - - $this->add_module(_("Maintenance")); - $this->add_lapp_function(2, _("Items"),"inventory/manage/items.php?"); - $this->add_lapp_function(2, _("Item Categories"),"inventory/manage/item_categories.php?"); - $this->add_lapp_function(2, _("Inventory Locations"),"inventory/manage/locations.php?"); - $this->add_rapp_function(2, _("Inventory Movement Types"),"inventory/manage/movement_types.php?"); - $this->add_rapp_function(2, _("Item Tax Types"),"taxes/item_tax_types.php?"); - $this->add_rapp_function(2, "",""); - $this->add_rapp_function(2, _("Reorder Levels"),"inventory/reorder_level.php?"); - - $this->add_module(_("Pricing and Costs")); - $this->add_lapp_function(3, _("Sales Pricing"),"inventory/prices.php?"); - $this->add_lapp_function(3, _("Purchasing Pricing"),"inventory/purchasing_data.php?"); - $this->add_rapp_function(3, _("Standard Costs"),"inventory/cost_update.php?"); - } - } - - +application("stock",_("Items and Inventory")); + + $this->add_module(_("Transactions")); + $this->add_lapp_function(0, _("Inventory Location Transfers"),"inventory/transfers.php?NewTransfer=1"); + $this->add_lapp_function(0, _("Inventory Adjustments"),"inventory/adjustments.php?NewAdjustment=1"); + + $this->add_module(_("Inquiries and Reports")); + $this->add_lapp_function(1, _("Inventory Item Movements"),"inventory/inquiry/stock_movements.php?"); + $this->add_lapp_function(1, _("Inventory Item Status"),"inventory/inquiry/stock_status.php?"); + $this->add_rapp_function(1, _("Inventory Reports"),"reporting/reports_main.php?Class=2"); + + $this->add_module(_("Maintenance")); + $this->add_lapp_function(2, _("Items"),"inventory/manage/items.php?"); + $this->add_lapp_function(2, _("Item Categories"),"inventory/manage/item_categories.php?"); + $this->add_lapp_function(2, _("Inventory Locations"),"inventory/manage/locations.php?"); + $this->add_rapp_function(2, _("Inventory Movement Types"),"inventory/manage/movement_types.php?"); + $this->add_rapp_function(2, _("Item Tax Types"),"taxes/item_tax_types.php?"); + $this->add_rapp_function(2, _("Units of Measure"),"inventory/manage/item_units.php?"); + $this->add_rapp_function(2, _("Reorder Levels"),"inventory/reorder_level.php?"); + + $this->add_module(_("Pricing and Costs")); + $this->add_lapp_function(3, _("Sales Pricing"),"inventory/prices.php?"); + $this->add_lapp_function(3, _("Purchasing Pricing"),"inventory/purchasing_data.php?"); + $this->add_rapp_function(3, _("Standard Costs"),"inventory/cost_update.php?"); + if (count($installed_modules) > 0) + { + foreach ($installed_modules as $mod) + { + if ($mod["tab"] == "stock") + $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?"); + } + } + } + } + + ?> \ No newline at end of file