X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep104.php;h=899da054cfcbfe0f00f4df5cc93d46137a0c9bf9;hb=41f4f83b97d8afc5f4c1be4afccd5049cd5641c0;hp=dd30a31625e93eab8174ac9b661ef3ea2991b150;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/reporting/rep104.php b/reporting/rep104.php index dd30a316..899da054 100644 --- a/reporting/rep104.php +++ b/reporting/rep104.php @@ -54,7 +54,7 @@ function get_prices($category=0, $salestype=0) function print_price_listing() { - 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"); @@ -145,7 +145,7 @@ function print_price_listing() } if ($pictures) { - $image = $path_to_root . "inventory/manage/image/" . $user_comp . "/" . $myrow['stock_id'] . ".jpg"; + $image = $comp_path . '/'. $user_comp . "/images/" . $myrow['stock_id'] . ".jpg"; if (file_exists($image)) { $rep->NewLine();