X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=applications%2Fmanufacturing.php;h=44b5e630e6ff30c2d82b40f4c3c150639fd74a5d;hb=c001557f8ebee630494c6323477bd865a61942d9;hp=b876a5ecd56c06731cf27c606767bf0ecfbede17;hpb=271a0acb700da2fb593301e42d0c088155dc28ca;p=fa-stable.git diff --git a/applications/manufacturing.php b/applications/manufacturing.php index b876a5ec..44b5e630 100644 --- a/applications/manufacturing.php +++ b/applications/manufacturing.php @@ -11,15 +11,15 @@ ***********************************************************************/ class manufacturing_app extends application { - function manufacturing_app() + function __construct() { - $this->application("manuf", _($this->help_context = "&Manufacturing")); + parent::__construct("manuf", _($this->help_context = "&Manufacturing")); $this->add_module(_("Transactions")); $this->add_lapp_function(0, _("Work &Order Entry"), - "manufacturing/work_order_entry.php?", 'SA_WORKORDERENTRY', MENU_ENTRY); + "manufacturing/work_order_entry.php?", 'SA_WORKORDERENTRY', MENU_TRANSACTION); $this->add_lapp_function(0, _("&Outstanding Work Orders"), - "manufacturing/search_work_orders.php?outstanding_only=1", 'SA_MANUFTRANSVIEW', MENU_INQUIRY); + "manufacturing/search_work_orders.php?outstanding_only=1", 'SA_MANUFTRANSVIEW', MENU_TRANSACTION); $this->add_module(_("Inquiries and Reports")); $this->add_lapp_function(1, _("Costed Bill Of Material Inquiry"), @@ -33,7 +33,7 @@ class manufacturing_app extends application $this->add_module(_("Maintenance")); $this->add_lapp_function(2, _("&Bills Of Material"), - "manufacturing/manage/bom_edit.php?", 'SA_BOM', MENU_INQUIRY); + "manufacturing/manage/bom_edit.php?", 'SA_BOM', MENU_ENTRY); $this->add_lapp_function(2, _("&Work Centres"), "manufacturing/manage/work_centres.php?", 'SA_WORKCENTRES', MENU_MAINTENANCE); @@ -42,4 +42,3 @@ class manufacturing_app extends application } -?> \ No newline at end of file