X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep303.php;h=73f58ee52659ddc5818a561fb79408184e3375f1;hb=5088ee92669272ebac6f1bd1acebc05fe382829f;hp=1cd151a62b34ce4c82dc7aaa6208328bd6e45218;hpb=b37623cf1de2cfce6825744557d76475f002321f;p=fa-stable.git diff --git a/reporting/rep303.php b/reporting/rep303.php index 1cd151a6..73f58ee5 100644 --- a/reporting/rep303.php +++ b/reporting/rep303.php @@ -61,7 +61,7 @@ function getTransactions($category, $location) function print_stock_check() { - global $comp_path, $path_to_root, $pic_height, $pic_width; + global $path_to_root, $pic_height, $pic_width; $category = $_POST['PARAM_0']; $location = $_POST['PARAM_1']; @@ -174,7 +174,7 @@ function print_stock_check() } if ($pictures) { - $image = $comp_path .'/'. $user_comp . '/images/' + $image = company_path() . '/images/' . item_img_name($trans['stock_id']) . '.jpg'; if (file_exists($image)) {