projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed all numeric constants to the new defined constants. A huge task.
[fa-stable.git]
/
reporting
/
rep110.php
diff --git
a/reporting/rep110.php
b/reporting/rep110.php
index a0051c4586d4c1ed3c550363ba35283a4b2cb541..5af4a83ce15544652b40d9c7b7f7dc015052e1a5 100644
(file)
--- a/
reporting/rep110.php
+++ b/
reporting/rep110.php
@@
-70,11
+70,11
@@
function print_deliveries()
for ($i = $fno[0]; $i <= $tno[0]; $i++)
{
for ($i = $fno[0]; $i <= $tno[0]; $i++)
{
- if (!exists_customer_trans(
13
, $i))
+ if (!exists_customer_trans(
ST_CUSTDELIVERY
, $i))
continue;
continue;
- $myrow = get_customer_trans($i,
13
);
+ $myrow = get_customer_trans($i,
ST_CUSTDELIVERY
);
$branch = get_branch($myrow["branch_code"]);
$branch = get_branch($myrow["branch_code"]);
- $sales_order = get_sales_order_header($myrow["order_"],
30
); // ?
+ $sales_order = get_sales_order_header($myrow["order_"],
ST_SALESORDER
); // ?
if ($email == 1)
{
$rep = new FrontReport("", "", user_pagesize());
if ($email == 1)
{
$rep = new FrontReport("", "", user_pagesize());
@@
-118,7
+118,7
@@
function print_deliveries()
$rep->Header2($myrow, $branch, $sales_order,'',13);
}
$rep->Header2($myrow, $branch, $sales_order,'',13);
}
- $comments = get_comments(
13
, $i);
+ $comments = get_comments(
ST_CUSTDELIVERY
, $i);
if ($comments && db_num_rows($comments))
{
$rep->NewLine();
if ($comments && db_num_rows($comments))
{
$rep->NewLine();