X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep303.php;h=9794e8c7b3b58b907b5c13565e7c6dc451adf7f5;hb=9a1b3abd5371ad7f6315db1d56f8356587444314;hp=4549a02a3b98ca66f44d9fed84dd9d57304a8a1b;hpb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;p=fa-stable.git diff --git a/reporting/rep303.php b/reporting/rep303.php index 4549a02a..9794e8c7 100644 --- a/reporting/rep303.php +++ b/reporting/rep303.php @@ -71,7 +71,7 @@ function getTransactions($category, $location, $item_like) function print_stock_check() { - global $path_to_root, $pic_height; + global $path_to_root, $SysPrefs; $category = $_POST['PARAM_0']; $location = $_POST['PARAM_1']; @@ -204,10 +204,10 @@ function print_stock_check() if (file_exists($image)) { $rep->NewLine(); - if ($rep->row - $pic_height < $rep->bottomMargin) + if ($rep->row - $SysPrefs->pic_height < $rep->bottomMargin) $rep->NewPage(); - $rep->AddImage($image, $rep->cols[1], $rep->row - $pic_height, 0, $pic_height); - $rep->row -= $pic_height; + $rep->AddImage($image, $rep->cols[1], $rep->row - $SysPrefs->pic_height, 0, $SysPrefs->pic_height); + $rep->row -= $SysPrefs->pic_height; $rep->NewLine(); } }