From a5a1f885ee288c74ea2674a9eaaa402ac3c05363 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 10 Feb 2015 08:33:04 +0100 Subject: [PATCH] Moved page number, when more than 1 page, on documents down 2 lines. --- reporting/includes/header2.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.30.2