projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed amibiguity in few text messages to make translations easier, updated gettext...
[fa-stable.git]
/
reporting
/
rep303.php
diff --git
a/reporting/rep303.php
b/reporting/rep303.php
index 4549a02a3b98ca66f44d9fed84dd9d57304a8a1b..9794e8c7b3b58b907b5c13565e7c6dc451adf7f5 100644
(file)
--- a/
reporting/rep303.php
+++ b/
reporting/rep303.php
@@
-71,7
+71,7
@@
function getTransactions($category, $location, $item_like)
function print_stock_check()
{
function print_stock_check()
{
- global $path_to_root, $
pic_height
;
+ global $path_to_root, $
SysPrefs
;
$category = $_POST['PARAM_0'];
$location = $_POST['PARAM_1'];
$category = $_POST['PARAM_0'];
$location = $_POST['PARAM_1'];
@@
-204,10
+204,10
@@
function print_stock_check()
if (file_exists($image))
{
$rep->NewLine();
if (file_exists($image))
{
$rep->NewLine();
- if ($rep->row - $pic_height < $rep->bottomMargin)
+ if ($rep->row - $
SysPrefs->
pic_height < $rep->bottomMargin)
$rep->NewPage();
$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();
}
}
$rep->NewLine();
}
}