X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=manufacturing%2Fmanage%2Fbom_edit.php;h=1593ee28db29f7219653a867625298c2e572526d;hb=d9b4de9d7e9d3ba77f6ece752fd6cc988effd8f1;hp=e963d5634f53192d22aaf161ad1e68b6e8f3ab88;hpb=67abd2b071302a327df63fb949963f0b45d62196;p=fa-stable.git diff --git a/manufacturing/manage/bom_edit.php b/manufacturing/manage/bom_edit.php index e963d563..1593ee28 100644 --- a/manufacturing/manage/bom_edit.php +++ b/manufacturing/manage/bom_edit.php @@ -64,11 +64,9 @@ else function display_bom_items($selected_parent) { - global $table_style; - $result = get_bom($selected_parent); div_start('bom'); - start_table("$table_style width=60%"); + start_table(TABLESTYLE, "width=60%"); $th = array(_("Code"), _("Description"), _("Location"), _("Work Centre"), _("Quantity"), _("Units"),'',''); table_header($th); @@ -167,7 +165,7 @@ if ($Mode == 'RESET') start_form(); 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); if (list_updated('stock_id')) $Ajax->activate('_page_body'); @@ -189,7 +187,7 @@ start_form(); //-------------------------------------------------------------------------------------- echo '
'; - start_table($table_style2); + start_table(TABLESTYLE2); if ($selected_id != -1) {