X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=reporting%2Frep306.php;fp=reporting%2Frep306.php;h=94bca60ab18f1515dd9143fa8860bef09cf574c5;hb=2fe1807ed1443d6e8fd850fb08cd58346c8657e5;hp=8f635653b361a7da7969c1d649e5ef06f98fbd26;hpb=dcdaed552c94303ca6145d898a8365f6cccec072;p=fa-stable.git diff --git a/reporting/rep306.php b/reporting/rep306.php index 8f635653..94bca60a 100644 --- a/reporting/rep306.php +++ b/reporting/rep306.php @@ -170,14 +170,13 @@ function print_inventory_purchase() { if ($stock_description != '') { - $stock_dec = get_qty_dec($stock_id); if ($supplier_name != '') { $rep->NewLine(2, 3); $rep->TextCol(0, 1, _('Total')); $rep->TextCol(1, 4, $stock_description); $rep->TextCol(4, 5, $supplier_name); - $rep->AmountCol(5, 7, $total_qty, $stock_dec); + $rep->AmountCol(5, 7, $total_qty, get_qty_dec($stock_id)); $rep->AmountCol(7, 8, $total_supp, $dec); $rep->Line($rep->row - 2); $rep->NewLine(); @@ -197,7 +196,7 @@ function print_inventory_purchase() $rep->TextCol(0, 1, _('Total')); $rep->TextCol(1, 4, $stock_description); $rep->TextCol(4, 5, $supplier_name); - $rep->AmountCol(5, 7, $total_qty, $stock_dec); + $rep->AmountCol(5, 7, $total_qty, get_qty_dec($stock_id)); $rep->AmountCol(7, 8, $total_supp, $dec); $rep->Line($rep->row - 2); $rep->NewLine(); @@ -262,7 +261,7 @@ function print_inventory_purchase() $rep->TextCol(0, 1, _('Total')); $rep->TextCol(1, 4, $stock_description); $rep->TextCol(4, 5, $supplier_name); - $rep->AmountCol(5, 7, $total_qty, $stock_dec); + $rep->AmountCol(5, 7, $total_qty, get_qty_dec($stock_id)); $rep->AmountCol(7, 8, $total_supp, $dec); $rep->Line($rep->row - 2); $rep->NewLine(); @@ -277,7 +276,7 @@ function print_inventory_purchase() $rep->TextCol(0, 1, _('Total')); $rep->TextCol(1, 4, $stock_description); $rep->TextCol(4, 5, $supplier_name); - $rep->AmountCol(5, 7, $total_qty, $stock_dec); + $rep->AmountCol(5, 7, $total_qty, get_qty_dec($stock_id)); $rep->AmountCol(7, 8, $total_supp, $dec); $rep->Line($rep->row - 2); $rep->NewLine();