X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep302.php;h=47bf8448c8c2212dd4cb1d255ed30cb14fef7539;hb=cf015790b7363cfcf29b98c82d20787c8d703fc1;hp=2a91d0373f6cb190afb59e41cc644959a2092d68;hpb=71ef60f5895e131182cdff8b092f6da905345dc5;p=fa-stable.git diff --git a/reporting/rep302.php b/reporting/rep302.php index 2a91d037..47bf8448 100644 --- a/reporting/rep302.php +++ b/reporting/rep302.php @@ -142,8 +142,6 @@ function print_inventory_planning() $location = $_POST['PARAM_1']; $comments = $_POST['PARAM_2']; - $dec = user_qty_dec(); - if ($category == reserved_words::get_all_numeric()) $category = 0; if ($category == 0) @@ -204,6 +202,7 @@ function print_inventory_planning() $suppqty = getSuppQty($trans['stock_id'], $trans['loc_code']); $period = getPeriods($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($period['prd0'], $dec));