projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving company data storage to company subdirectory
[fa-stable.git]
/
reporting
/
rep104.php
diff --git
a/reporting/rep104.php
b/reporting/rep104.php
index dd30a31625e93eab8174ac9b661ef3ea2991b150..899da054cfcbfe0f00f4df5cc93d46137a0c9bf9 100644
(file)
--- a/
reporting/rep104.php
+++ b/
reporting/rep104.php
@@
-54,7
+54,7
@@
function get_prices($category=0, $salestype=0)
function print_price_listing()
{
function print_price_listing()
{
- global $path_to_root, $pic_height, $pic_width;
+ global $
comp_path, $
path_to_root, $pic_height, $pic_width;
include_once($path_to_root . "reporting/includes/pdf_report.inc");
include_once($path_to_root . "reporting/includes/pdf_report.inc");
@@
-145,7
+145,7
@@
function print_price_listing()
}
if ($pictures)
{
}
if ($pictures)
{
- $image = $
path_to_root . "inventory/manage/image/" . $user_comp . "
/" . $myrow['stock_id'] . ".jpg";
+ $image = $
comp_path . '/'. $user_comp . "/images
/" . $myrow['stock_id'] . ".jpg";
if (file_exists($image))
{
$rep->NewLine();
if (file_exists($image))
{
$rep->NewLine();