X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep105.php;h=e0dd503637cd407d4acce43c597582fb9074fe80;hb=7fae690528df9b851fba309b71bf7c3b961c9dd9;hp=4b6a086cc55b00166070f36d650eeac56d3425d0;hpb=8ea6c4dd0d9b31b3456d012b0c94339b801bee0c;p=fa-stable.git diff --git a/reporting/rep105.php b/reporting/rep105.php index 4b6a086c..e0dd5036 100644 --- a/reporting/rep105.php +++ b/reporting/rep105.php @@ -125,7 +125,7 @@ function print_order_status_list() $rep->Font(); $rep->Info($params, $cols, $headers, $aligns, $cols2, $headers2, $aligns2); - $rep->Header(); + $rep->NewPage(); $orderno = 0; $result = GetSalesOrders($from, $to, $category, $location, $backorder); @@ -135,7 +135,7 @@ function print_order_status_list() if ($rep->row < $rep->bottomMargin + (2 * $rep->lineHeight)) { $orderno = 0; - $rep->Header(); + $rep->NewPage(); } $rep->NewLine(0, 2, false, $orderno); if ($orderno != $myrow['order_no']) @@ -171,7 +171,7 @@ function print_order_status_list() if ($rep->row < $rep->bottomMargin + (2 * $rep->lineHeight)) { $orderno = 0; - $rep->Header(); + $rep->NewPage(); } } $rep->Line($rep->row);