projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimized editkey graphics by using JS callEditor instead.
[fa-stable.git]
/
reporting
/
rep106.php
diff --git
a/reporting/rep106.php
b/reporting/rep106.php
index 42a02083828a5930dcb30c8872d7beb66ea119dd..ca1c84725b1b7a8bc07dabf96f6cf5331c1e92c4 100644
(file)
--- a/
reporting/rep106.php
+++ b/
reporting/rep106.php
@@
-105,11
+105,6
@@
function print_salesman_list()
while ($myrow=db_fetch($result))
{
while ($myrow=db_fetch($result))
{
- if ($rep->row < $rep->bottomMargin + (2 * $rep->lineHeight))
- {
- $salesman = 0;
- $rep->NewPage();
- }
$rep->NewLine(0, 2, false, $salesman);
if ($salesman != $myrow['salesman_code'])
{
$rep->NewLine(0, 2, false, $salesman);
if ($salesman != $myrow['salesman_code'])
{
@@
-152,11
+147,6
@@
function print_salesman_list()
$rep->AmountCol(5, 6, $amt, $dec);
$rep->AmountCol(6, 7, $prov, $dec);
$rep->NewLine();
$rep->AmountCol(5, 6, $amt, $dec);
$rep->AmountCol(6, 7, $prov, $dec);
$rep->NewLine();
- if ($rep->row < $rep->bottomMargin + (2 * $rep->lineHeight))
- {
- $salesman = 0;
- $rep->NewPage();
- }
}
$subtotal += $amt;
$subprov += $prov;
}
$subtotal += $amt;
$subprov += $prov;