X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Frep307.php;h=18cfc6ea064852c614116de5700e5d9038f79164;hb=f01da91c553b7d256b053475c0f5dc026c47c10d;hp=aee04a26db9231d8d90921acb1d194b07e1b4b6d;hpb=41bdd7820211334cef5c087889e6cd5e6e45af86;p=fa-stable.git diff --git a/reporting/rep307.php b/reporting/rep307.php index aee04a26..18cfc6ea 100644 --- a/reporting/rep307.php +++ b/reporting/rep307.php @@ -155,11 +155,11 @@ function inventory_movements() $inward += trans_qty($myrow['stock_id'], $location, $from_date, $to_date); $outward += trans_qty($myrow['stock_id'], $location, $from_date, $to_date, false); - $rep->AmountCol(3, 4, $qoh_start, get_qty_dec($myrow['stock_id'])); - $rep->AmountCol(4, 5, $inward, get_qty_dec($myrow['stock_id'])); - $rep->AmountCol(5, 6, $outward, get_qty_dec($myrow['stock_id'])); - $rep->AmountCol(6, 7, $qoh_end, get_qty_dec($myrow['stock_id'])); - + $stock_qty_dec = get_qty_dec($myrow['stock_id']); + $rep->AmountCol(3, 4, $qoh_start, $stock_qty_dec); + $rep->AmountCol(4, 5, $inward, $stock_qty_dec); + $rep->AmountCol(5, 6, $outward, $stock_qty_dec); + $rep->AmountCol(6, 7, $qoh_end, $stock_qty_dec); $rep->NewLine(0, 1); } $rep->Line($rep->row - 4);