X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fmanufacturing.php;h=3864ca6039db83d0c2cb98d1ab60bcdb45021f1a;hb=236c7f536aac0064585c371d37cf527f6984f3ce;hp=46b95fe655f58e62fa8cc0211e0a5dfae6b66930;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/applications/manufacturing.php b/applications/manufacturing.php index 46b95fe6..3864ca60 100644 --- a/applications/manufacturing.php +++ b/applications/manufacturing.php @@ -1,26 +1,36 @@ -application("manuf",_("Manufacturing")); - - $this->add_module(_("Transactions")); - $this->add_lapp_function(0, _("Work Order Entry"),"manufacturing/work_order_entry.php?"); - $this->add_lapp_function(0, _("Outstanding Work Orders"),"manufacturing/search_work_orders.php?OutstandingOnly=1"); - - $this->add_module(_("Inquiries and Reports")); - //$this->add_lapp_function(1, _("Costed Bill Of Material Inquiry"),"manufacturing/inquiry/bom_cost_inquiry.php?"); - $this->add_lapp_function(1, _("Inventory Item Where Used Inquiry"),"manufacturing/inquiry/where_used_inquiry.php?"); - $this->add_lapp_function(1, _("Work Order Inquiry"),"manufacturing/search_work_orders.php?"); - $this->add_rapp_function(1, _("Manufactoring Reports"),"reporting/reports_main.php?Class=3"); - - $this->add_module(_("Maintenance")); - $this->add_lapp_function(2, _("Bills Of Material"),"manufacturing/manage/bom_edit.php?"); - $this->add_lapp_function(2, _("Work Centres"),"manufacturing/manage/work_centres.php?"); - } - } - - +application("manuf",_("Manufacturing")); + + $this->add_module(_("Transactions")); + $this->add_lapp_function(0, _("Work Order Entry"),"manufacturing/work_order_entry.php?"); + $this->add_lapp_function(0, _("Outstanding Work Orders"),"manufacturing/search_work_orders.php?OutstandingOnly=1"); + + $this->add_module(_("Inquiries and Reports")); + //$this->add_lapp_function(1, _("Costed Bill Of Material Inquiry"),"manufacturing/inquiry/bom_cost_inquiry.php?"); + $this->add_lapp_function(1, _("Inventory Item Where Used Inquiry"),"manufacturing/inquiry/where_used_inquiry.php?"); + $this->add_lapp_function(1, _("Work Order Inquiry"),"manufacturing/search_work_orders.php?"); + $this->add_rapp_function(1, _("Manufactoring Reports"),"reporting/reports_main.php?Class=3"); + + $this->add_module(_("Maintenance")); + $this->add_lapp_function(2, _("Bills Of Material"),"manufacturing/manage/bom_edit.php?"); + $this->add_lapp_function(2, _("Work Centres"),"manufacturing/manage/work_centres.php?"); + if (count($installed_modules) > 0) + { + foreach ($installed_modules as $mod) + { + if ($mod["tab"] == "manuf") + $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?"); + } + } + } + } + + ?> \ No newline at end of file