Removed not used yet ajax stuff, added combo class binding and setFocus()
[fa-stable.git] / reporting / rep104.php
index dd30a31625e93eab8174ac9b661ef3ea2991b150..899da054cfcbfe0f00f4df5cc93d46137a0c9bf9 100644 (file)
@@ -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();