From: Joe Hunt Date: Sat, 26 Nov 2011 21:57:27 +0000 (+0100) Subject: Salesman listing not adding over page break in report. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=80f0a07a728d00dcc7c0a312371e9b7764a9e4cd;p=textcart.git Salesman listing not adding over page break in report. --- diff --git a/reporting/rep105.php b/reporting/rep105.php index ad6e6ce..70c8c0d 100644 --- a/reporting/rep105.php +++ b/reporting/rep105.php @@ -132,11 +132,6 @@ function print_order_status_list() while ($myrow=db_fetch($result)) { - if ($rep->row < $rep->bottomMargin + (2 * $rep->lineHeight)) - { - $orderno = 0; - $rep->NewPage(); - } $rep->NewLine(0, 2, false, $orderno); if ($orderno != $myrow['order_no']) { @@ -168,11 +163,6 @@ function print_order_status_list() $rep->Font(); } $rep->NewLine(); - if ($rep->row < $rep->bottomMargin + (2 * $rep->lineHeight)) - { - $orderno = 0; - $rep->NewPage(); - } } $rep->Line($rep->row); $rep->End(); diff --git a/reporting/rep106.php b/reporting/rep106.php index 42a0208..ca1c847 100644 --- a/reporting/rep106.php +++ b/reporting/rep106.php @@ -105,11 +105,6 @@ function print_salesman_list() 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']) { @@ -152,11 +147,6 @@ function print_salesman_list() $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;