From: Joe Date: Tue, 10 Feb 2015 07:33:04 +0000 (+0100) Subject: Moved page number, when more than 1 page, on documents down 2 lines. X-Git-Tag: 2.3-final~73 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=a5a1f885ee288c74ea2674a9eaaa402ac3c05363 Moved page number, when more than 1 page, on documents down 2 lines. --- diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index c783c915..c76ae9f6 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -141,9 +141,10 @@ $this->NewLine(); $this->Text($mcol + 100, $this->formData['document_name']); $this->Text($mcol + 180, $this->formData['document_number']); - + $this->NewLine(2); + if ($this->pageNumber > 1) - $this->Text($this->endLine - 35, _("Page") . ' ' . $this->pageNumber); + $this->Text($mcol + 180, _("Page") . ' ' . $this->pageNumber); $this->row = $iline1 - $this->lineHeight; $this->fontSize -= 4; $this->Text($ccol, $Addr1['title'], $icol);