$location = $_POST['PARAM_1'];
$comments = $_POST['PARAM_2'];
- $dec = user_qty_dec();
-
if ($category == reserved_words::get_all_numeric())
$category = 0;
if ($category == 0)
$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));