X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=reporting%2Frep105.php;h=e25b89aae94034ca24de57b4f91d4fdff55eaaca;hb=d635061b77d9815f378a18b8a0a984b2fe962433;hp=1d3f66b3dbe9fa40f7af137fbc6d942a526ea221;hpb=5ac511e332a157799a38f2f7f00e99fabbf64b02;p=fa-stable.git diff --git a/reporting/rep105.php b/reporting/rep105.php index 1d3f66b3..e25b89aa 100644 --- a/reporting/rep105.php +++ b/reporting/rep105.php @@ -72,8 +72,6 @@ function print_order_status_list() $backorder = $_POST['PARAM_4']; $comments = $_POST['PARAM_5']; - $dec = user_qty_dec(); - if ($category == reserved_words::get_all_numeric()) $category = 0; if ($location == reserved_words::get_all()) @@ -146,6 +144,7 @@ function print_order_status_list() } $rep->TextCol(0, 1, $myrow['stk_code']); $rep->TextCol(1, 2, $myrow['description']); + $dec = get_qty_dec($myrow['stk_code']); $rep->TextCol(2, 3, number_format2($myrow['quantity'], $dec)); $rep->TextCol(3, 4, number_format2($myrow['qty_sent'], $dec)); $rep->TextCol(4, 5, number_format2($myrow['quantity'] - $myrow['qty_sent'], $dec));