From: Joe Hunt Date: Wed, 26 Nov 2008 23:18:51 +0000 (+0000) Subject: [0000092] Stock Sheet Report. Bad Page break. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=464fc55cd1bf2ca58a14061e4ea1164c442008fc;p=textcart.git [0000092] Stock Sheet Report. Bad Page break. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a225926..62eb694 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +27_Nov-2008 Joe Hunt +# [0000092] Stock Sheet Report. Bad Page break. +$ /reporting/includes/pdf_report.inc + 26-Nov-2008 Joe Hunt # [0000091] Tax for 2 decimal places doesn't compute properly $ /taxes/tax_calc.inc diff --git a/reporting/includes/pdf_report.inc b/reporting/includes/pdf_report.inc index f09ab57..f69543c 100644 --- a/reporting/includes/pdf_report.inc +++ b/reporting/includes/pdf_report.inc @@ -349,7 +349,7 @@ class FrontReport extends Cpdf function NewLine($l=1, $np=0) { $this->row -= ($l * $this->lineHeight); - if ($np > 0 && $this->row < $this->bottomMargin + ($np * $this->lineHeight)) + if ($this->row < $this->bottomMargin + ($np * $this->lineHeight)) $this->Header(); }