- qty_cell($myrow["quantity_inv"]);
- qty_cells(null, 'This_QuantityCredited', qty_format(max($myrow['quantity_inv'],0)));
+ $dec = get_qty_dec($myrow['item_code']);
+ qty_cell($myrow["quantity_inv"], false, $dec);
+ qty_cells(null, 'This_QuantityCredited', qty_format(max($myrow['quantity_inv'],0),$myrow['item_code'], $dec), null, null, $dec);