X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Finquiry%2Fbom_cost_inquiry.php;h=9b8f9d21db61406ef715f524119c9aa1d63bc1e3;hb=d907208297556310cc7c51fcb9086869c880ab2d;hp=8faae1ccbf9728464abee9e081bd90cfe7be9bce;hpb=c9bcbecdb920266f300d5ea8da8da7529c93fc3f;p=fa-stable.git diff --git a/manufacturing/inquiry/bom_cost_inquiry.php b/manufacturing/inquiry/bom_cost_inquiry.php index 8faae1cc..9b8f9d21 100644 --- a/manufacturing/inquiry/bom_cost_inquiry.php +++ b/manufacturing/inquiry/bom_cost_inquiry.php @@ -9,14 +9,13 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License here . ***********************************************************************/ -$page_security = 2; -$path_to_root="../.."; +$page_security = 'SA_WORKORDERCOST'; +$path_to_root = "../.."; include_once($path_to_root . "/includes/session.inc"); -page(_("Costed Bill Of Material Inquiry")); +page(_($help_context = "Costed Bill Of Material Inquiry")); include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc"); -include_once($path_to_root . "/includes/manufacturing.inc"); include_once($path_to_root . "/includes/ui.inc"); include_once($path_to_root . "/includes/banking.inc"); include_once($path_to_root . "/includes/data_checks.inc"); @@ -28,10 +27,10 @@ if (isset($_GET['stock_id'])) $_POST['stock_id'] = $_GET['stock_id']; } if (list_updated('stock_id')) - $Ajax->activate('_page_body'); + $Ajax->activate('_page_body'); start_form(false, true); -start_table("class='tablestyle_noborder'"); +start_table(TABLESTYLE_NOBORDER); stock_manufactured_items_list_row(_("Select a manufacturable item:"), 'stock_id', null, false, true); end_table(); br(); @@ -41,4 +40,3 @@ display_bom($_POST['stock_id']); end_form(); end_page(); -?>