Javascript now works with multiple classes on elements.
[fa-stable.git] / inventory / manage / item_codes.php
index d26f6f413522ea7178d016badb5fed0bb9643547..892c0a359d42a01520cb78d05a4bfa70ce616788 100644 (file)
@@ -103,7 +103,9 @@ if (!isset($_POST['stock_id']))
        $_POST['stock_id'] = get_global_stock_item();
 
 echo "<center>" . _("Item:"). "&nbsp;";
-echo stock_purchasable_items_list('stock_id', $_POST['stock_id'], false, true);
+//Chaitanya : Manufcatured item visible
+echo stock_items_list('stock_id', $_POST['stock_id'], false, true);
+//echo stock_purchasable_items_list('stock_id', $_POST['stock_id'], false, true);
 
 echo "<hr></center>";
 
@@ -117,7 +119,7 @@ $dflt_cat = $result['category_id'];
 
 $result = get_all_item_codes($_POST['stock_id']);
 div_start('code_table');
-       start_table("$table_style width=60%");
+       start_table(TABLESTYLE, "width=60%");
 
        $th = array(_("EAN/UPC Code"), _("Quantity"), _("Units"), 
                _("Description"),_("Category"), "", "");
@@ -169,7 +171,7 @@ if ($selected_id != '') {
 }
 
 echo "<br>";
-start_table($table_style2);
+start_table(TABLESTYLE2);
 
 hidden('code_id', $selected_id);