More files with Quantity routines needed fix due to php4 related issue.
[fa-stable.git] / purchasing / supplier_invoice_grns.php
index 3c444880ae94c86639f941bfd479b9fc59ca2aed..0adbe8e996ec5403c4aee4881b7298afbbdbc4fe 100644 (file)
@@ -212,7 +212,7 @@ if (isset($_POST['grn_item_id']) && $_POST['grn_item_id'] != "")
        label_cell($myrow['description']);
        $dec = get_qty_dec($myrow['item_code']);
        qty_cell($myrow['QtyOstdg'], false, $dec);
-       qty_cells(null, 'this_quantity_inv', qty_format($myrow['QtyOstdg'], $myrow['item_code'], $dec), null, null, $dec);
+       qty_cells(null, 'this_quantity_inv', number_format2($myrow['QtyOstdg'], $dec), null, null, $dec);
        amount_cell($myrow['unit_price']);
        small_amount_cells(null, 'ChgPrice', price_format($myrow['unit_price']));
        end_row();