Format cleanup, small display fix in taxes/tax_type.php
[fa-stable.git] / applications / manufacturing.php
1 <?php
2
3         include_once("./modules/installed_modules.php");
4         class manufacturing_app extends application 
5         {
6                 function manufacturing_app() 
7                 {
8                         global $installed_modules;
9                         $this->application("manuf",_("Manufacturing"));
10
11                         $this->add_module(_("Transactions"));
12                         $this->add_lapp_function(0, _("Work Order Entry"),"manufacturing/work_order_entry.php?");
13                         $this->add_lapp_function(0, _("Outstanding Work Orders"),"manufacturing/search_work_orders.php?OutstandingOnly=1");
14
15                         $this->add_module(_("Inquiries and Reports"));
16                         //$this->add_lapp_function(1, _("Costed Bill Of Material Inquiry"),"manufacturing/inquiry/bom_cost_inquiry.php?");
17                         $this->add_lapp_function(1, _("Inventory Item Where Used Inquiry"),"manufacturing/inquiry/where_used_inquiry.php?");
18                         $this->add_lapp_function(1, _("Work Order Inquiry"),"manufacturing/search_work_orders.php?");
19                         $this->add_rapp_function(1, _("Manufactoring Reports"),"reporting/reports_main.php?Class=3");
20
21                         $this->add_module(_("Maintenance"));
22                         $this->add_lapp_function(2, _("Bills Of Material"),"manufacturing/manage/bom_edit.php?");
23                         $this->add_lapp_function(2, _("Work Centres"),"manufacturing/manage/work_centres.php?");
24                         if (count($installed_modules) > 0)
25                         {
26                                 foreach ($installed_modules as $mod)
27                                 {
28                                         if ($mod["tab"] == "manuf")
29                                                 $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?");
30                                 }
31                         }       
32                 }
33         }
34
35
36 ?>