projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bad and missing parameter to header2 funciton
[fa-stable.git]
/
reporting
/
rep105.php
diff --git
a/reporting/rep105.php
b/reporting/rep105.php
index a5e0ef3c112277959a3c3e5460b38bfdf069922b..e25b89aae94034ca24de57b4f91d4fdff55eaaca 100644
(file)
--- 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'];
$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())
if ($category == reserved_words::get_all_numeric())
$category = 0;
if ($location == reserved_words::get_all())
@@
-146,8
+144,9
@@
function print_order_status_list()
}
$rep->TextCol(0, 1, $myrow['stk_code']);
$rep->TextCol(1, 2, $myrow['description']);
}
$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(2, 3, number_format2($myrow['quantity'], $dec));
- $rep->TextCol(3, 4, number_format2($myrow['qty_
invoiced
'], $dec));
+ $rep->TextCol(3, 4, number_format2($myrow['qty_
sent
'], $dec));
$rep->TextCol(4, 5, number_format2($myrow['quantity'] - $myrow['qty_sent'], $dec));
if ($myrow['quantity'] - $myrow['qty_sent'] > 0)
{
$rep->TextCol(4, 5, number_format2($myrow['quantity'] - $myrow['qty_sent'], $dec));
if ($myrow['quantity'] - $myrow['qty_sent'] > 0)
{