Bug in tax_types_list (spec_id)
[fa-stable.git] / manufacturing / manage / bom_edit.php
index a10606b147d308d07986cc58a84d3da948e7199b..2df314090a9420c65b3bbec3435b44799eadaa6b 100644 (file)
@@ -86,7 +86,7 @@ function display_bom_items($selected_parent)
        global $table_style;
 
        $result = get_bom($selected_parent);
-
+div_start('bom');
        start_table("$table_style width=60%");
        $th = array(_("Code"), _("Description"), _("Location"),
                _("Work Centre"), _("Quantity"), _("Units"),'','');
@@ -110,6 +110,7 @@ function display_bom_items($selected_parent)
 
        } //END WHILE LIST LOOP
        end_table();
+div_end();
 }
 
 //--------------------------------------------------------------------------------------------------
@@ -204,6 +205,8 @@ echo "</center>";
 
 end_form();
 
+if (isset($_POST['_stock_id_update']))
+       $Ajax->activate('bom');
 //--------------------------------------------------------------------------------------------------
 
 if (isset($_POST['stock_id']))