X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep303.php;fp=reporting%2Frep303.php;h=9794e8c7b3b58b907b5c13565e7c6dc451adf7f5;hb=5e63c6ace55729bbb5ee3b060035a25a4426eb0a;hp=4549a02a3b98ca66f44d9fed84dd9d57304a8a1b;hpb=0d191c7bff92b9a9bbc44dab48855477edb99ebf;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(); } }