X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep303.php;h=1cfab257919bd862636f370bd1107bab99d407f0;hb=cf015790b7363cfcf29b98c82d20787c8d703fc1;hp=bb0fc86d6a15228ed12dc9d3b6c30f5276044cba;hpb=1273d798e494986d5d35b885ccbd0ccaaa0c2695;p=fa-stable.git diff --git a/reporting/rep303.php b/reporting/rep303.php index bb0fc86d..1cfab257 100644 --- a/reporting/rep303.php +++ b/reporting/rep303.php @@ -103,8 +103,6 @@ function print_stock_check() $pictures = $_POST['PARAM_2']; $comments = $_POST['PARAM_3']; - $dec = user_qty_dec(); - if ($category == reserved_words::get_all_numeric()) $category = 0; if ($category == 0) @@ -159,6 +157,7 @@ function print_stock_check() $demandqty = getDemandQty($trans['stock_id'], $trans['loc_code']); $demandqty += getDemandAsmQty($trans['stock_id'], $trans['loc_code']); $rep->NewLine(); + $dec = get_qty_dec($trans['stock_id']); $rep->TextCol(0, 1, $trans['stock_id']); $rep->TextCol(1, 2, $trans['description']); $rep->TextCol(2, 3, number_format2($trans['QtyOnHand'], $dec));