[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / applications / manufacturing.php
1 <?php
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 manufacturing_app extends application
13 {
14         function __construct()
15         {
16                 parent::__construct("manuf", _($this->help_context = "&Manufacturing"));
17
18                 $this->add_module(_("Transactions"));
19                 $this->add_lapp_function(0, _("Work &Order Entry"),
20                         "manufacturing/work_order_entry.php?", 'SA_WORKORDERENTRY', MENU_TRANSACTION);
21                 $this->add_lapp_function(0, _("&Outstanding Work Orders"),
22                         "manufacturing/search_work_orders.php?outstanding_only=1", 'SA_MANUFTRANSVIEW', MENU_TRANSACTION);
23
24                 $this->add_module(_("Inquiries and Reports"));
25                 $this->add_lapp_function(1, _("Costed Bill Of Material Inquiry"),
26                         "manufacturing/inquiry/bom_cost_inquiry.php?", 'SA_WORKORDERCOST', MENU_INQUIRY);
27                 $this->add_lapp_function(1, _("Inventory Item Where Used &Inquiry"),
28                         "manufacturing/inquiry/where_used_inquiry.php?", 'SA_WORKORDERANALYTIC', MENU_INQUIRY);
29                 $this->add_lapp_function(1, _("Work Order &Inquiry"),
30                         "manufacturing/search_work_orders.php?", 'SA_MANUFTRANSVIEW', MENU_INQUIRY);
31                 $this->add_rapp_function(1, _("Manufacturing &Reports"),
32                         "reporting/reports_main.php?Class=3", 'SA_MANUFTRANSVIEW', MENU_REPORT);
33
34                 $this->add_module(_("Maintenance"));
35                 $this->add_lapp_function(2, _("&Bills Of Material"),
36                         "manufacturing/manage/bom_edit.php?", 'SA_BOM', MENU_ENTRY);
37                 $this->add_lapp_function(2, _("&Work Centres"),
38                         "manufacturing/manage/work_centres.php?", 'SA_WORKCENTRES', MENU_MAINTENANCE);
39
40                 $this->add_extensions();
41         }
42 }
43
44