Changed the Quantity routines to use the Item Units decimals if any. A lot of files.
[fa-stable.git] / inventory / reorder_level.php
index dfe6f2dc2862e63b3fd98e5ac3f81e0ee7dda73c..5b1ac7282c92dbad8bbfbc2f3919d7f68b5ba9de 100644 (file)
@@ -66,10 +66,10 @@ while ($myrow = db_fetch($result))
 
        label_cell($myrow["location_name"]);
 
-       $_POST[$myrow["loc_code"]] = qty_format($myrow["reorder_level"]);
+       $_POST[$myrow["loc_code"]] = qty_format($myrow["reorder_level"], $_POST['stock_id'], $dec);
 
-       label_cell(number_format2($qoh,user_qty_dec()), "nowrap align='right'");
-       qty_cells(null, $myrow["loc_code"]);
+       qty_cell($qoh, false, $dec);
+       qty_cells(null, $myrow["loc_code"], null, null, null, $dec);
        end_row();
        $j++;
        If ($j == 12)