X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fmanage%2Fbom_edit.php;h=aca1d7610ff1f31d6348faceb8815637d018c38b;hb=5ac9ea61baac0cf298b07317051da51e781645b7;hp=1593ee28db29f7219653a867625298c2e572526d;hpb=d9b4de9d7e9d3ba77f6ece752fd6cc988effd8f1;p=fa-stable.git diff --git a/manufacturing/manage/bom_edit.php b/manufacturing/manage/bom_edit.php index 1593ee28..aca1d761 100644 --- a/manufacturing/manage/bom_edit.php +++ b/manufacturing/manage/bom_edit.php @@ -19,8 +19,6 @@ include_once($path_to_root . "/includes/date_functions.inc"); include_once($path_to_root . "/includes/ui.inc"); include_once($path_to_root . "/includes/data_checks.inc"); -include_once($path_to_root . "/includes/manufacturing.inc"); - check_db_has_bom_stock_items(_("There are no manufactured or kit items defined in the system.")); check_db_has_workcentres(_("There are no work centres defined in the system. BOMs require at least one work centre be defined.")); @@ -66,7 +64,7 @@ function display_bom_items($selected_parent) { $result = get_bom($selected_parent); div_start('bom'); - start_table(TABLESTYLE, "width=60%"); + start_table(TABLESTYLE, "width='60%'"); $th = array(_("Code"), _("Description"), _("Location"), _("Work Centre"), _("Quantity"), _("Units"),'',''); table_header($th); @@ -166,7 +164,9 @@ start_form(); start_form(false, true); start_table(TABLESTYLE_NOBORDER); -stock_manufactured_items_list_row(_("Select a manufacturable item:"), 'stock_id', null, false, true); +start_row(); +stock_manufactured_items_list_cells(_("Select a manufacturable item:"), 'stock_id', null, false, true); +end_row(); if (list_updated('stock_id')) $Ajax->activate('_page_body'); end_table(); @@ -206,7 +206,7 @@ start_form(); else { start_row(); - label_cell(_("Component:")); + label_cell(_("Component:"), "class='label'"); echo ""; echo stock_component_items_list('component', $selected_parent, null, false, true); @@ -233,4 +233,3 @@ start_form(); end_page(); -?>