X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep303.php;h=9794e8c7b3b58b907b5c13565e7c6dc451adf7f5;hb=7561718ee5113232ce917f63085d272884b0929c;hp=e12e5f0f430bdafdaace4fd4f9255a23fbefba81;hpb=23ec3ca30beddc8541b222b5e2fe3dd816201933;p=fa-stable.git diff --git a/reporting/rep303.php b/reporting/rep303.php index e12e5f0f..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(); } } @@ -217,4 +217,3 @@ function print_stock_check() $rep->End(); } -?>