projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
db_escape() protection in rest of source code
[fa-stable.git]
/
reporting
/
rep303.php
diff --git
a/reporting/rep303.php
b/reporting/rep303.php
index 801561f197ddccba89e3108ff0e8a0cdc8ba3afa..bb0fc86d6a15228ed12dc9d3b6c30f5276044cba 100644
(file)
--- a/
reporting/rep303.php
+++ b/
reporting/rep303.php
@@
-94,7
+94,7
@@
function getDemandAsmQty($stockid, $location)
function print_stock_check()
{
function print_stock_check()
{
- global $path_to_root, $pic_height, $pic_width;
+ global $
comp_path, $
path_to_root, $pic_height, $pic_width;
include_once($path_to_root . "reporting/includes/pdf_report.inc");
include_once($path_to_root . "reporting/includes/pdf_report.inc");
@@
-166,7
+166,7
@@
function print_stock_check()
$rep->TextCol(4, 5, number_format2($trans['QtyOnHand'] - $demandqty, $dec));
if ($pictures)
{
$rep->TextCol(4, 5, number_format2($trans['QtyOnHand'] - $demandqty, $dec));
if ($pictures)
{
- $image = $
path_to_root . "inventory/manage/image/" . $user_comp . "/" . $trans['stock_id'] . ".jpg"
;
+ $image = $
comp_path .'/'. $user_comp . '/images/' . $trans['stock_id'] . '.jpg'
;
if (file_exists($image))
{
$rep->NewLine();
if (file_exists($image))
{
$rep->NewLine();