- $rep->AmountCol(2, 3, $trans['QtyOnHand'], get_qty_dec($trans['stock_id']));
- $rep->AmountCol(3, 4, $trans['UnitCost'], $dec);
- $rep->AmountCol(4, 5, $trans['ItemTotal'], $dec);
- $rep->fontsize += 2;
+ $rep->TextCol(2, 3, $trans['units']);
+ $rep->AmountCol(3, 4, $trans['QtyOnHand'], get_qty_dec($trans['stock_id']));
+ $dec2 = 0;
+ price_decimal_format($trans['UnitCost'], $dec2);
+ $rep->AmountCol(4, 5, $trans['UnitCost'], $dec2);
+ $rep->AmountCol(5, 6, $trans['ItemTotal'], $dec);
+ $rep->fontSize += 2;