X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=manufacturing%2Finquiry%2Fbom_cost_inquiry.php;h=40612fe2f54ac6f0f45467452363568c5fb02767;hb=107a22ab168c1102f3f534a22cd5b8290331f17d;hp=e484ea9f3a3a9c48edd00740b35688cf79b52b25;hpb=45c3f27073ca5a76fb2cca45bf33f0700ef4ae6a;p=fa-stable.git diff --git a/manufacturing/inquiry/bom_cost_inquiry.php b/manufacturing/inquiry/bom_cost_inquiry.php index e484ea9f..40612fe2 100644 --- a/manufacturing/inquiry/bom_cost_inquiry.php +++ b/manufacturing/inquiry/bom_cost_inquiry.php @@ -9,11 +9,11 @@ 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"); @@ -31,17 +31,12 @@ if (list_updated('stock_id')) $Ajax->activate('_page_body'); start_form(false, true); - start_table("class='tablestyle_noborder'"); - start_row(); - echo ''; - stock_bom_items_list('stock_id', null, false, true); - echo ''; - end_table(); - - echo "
"; - - display_heading(_("All Costs Are In:") . " " . get_company_currency()); - display_bom($_POST['stock_id']); +start_table(TABLESTYLE_NOBORDER); +stock_manufactured_items_list_row(_("Select a manufacturable item:"), 'stock_id', null, false, true); +end_table(); +br(); +display_heading(_("All Costs Are In:") . " " . get_company_currency()); +display_bom($_POST['stock_id']); end_form();