Include file conflict fix
[fa-stable.git] / manufacturing / inquiry / where_used_inquiry.php
index 9304c197a7ea2ab4bd5c4f2c4b7c94f63ee50c3d..c68b42dfe43ecd3fdca0d3f8e08b4e67119b33f5 100644 (file)
@@ -8,7 +8,6 @@ page(_("Inventory Item Where Used Inquiry"));
 
 //include($path_to_root . "/includes/date_functions.inc");
 include($path_to_root . "/includes/ui.inc");
-include($path_to_root . "/includes/data_checks.inc");
 
 check_db_has_stock_items(_("There are no items defined in the system."));
 
@@ -56,7 +55,7 @@ if (isset($_POST['stock_id']))
                label_cell("<a href='$select_item'>" . $myrow["parent"]. " - " . $myrow["description"]. "</a>");
                label_cell($myrow["WorkCentreName"]);
                label_cell($myrow["location_name"]);
-               label_cell($myrow["quantity"]);
+               label_cell(qty_format($myrow["quantity"]));
                        end_row();
                        
                $j++;