From d18cc6f5ccb7e0ce6bc880f9251c73ba489df802 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 5 Jan 2010 14:59:39 +0000 Subject: [PATCH] Improved layout on documents. --- CHANGELOG.txt | 4 ++++ reporting/includes/doctext.inc | 2 +- reporting/includes/doctext2.inc | 2 +- reporting/includes/header2.inc | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d2c2bbf..ee1ccf7 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -21,8 +21,12 @@ $ -> Affected files 04-Jan-2010 Joe Hunt ! Making the stretch parameter = 1 on default print pdf all over + Improved layout on documents. $ /reporting/includes/class.pdf.inc /reporting/includes/pdf_report.inc + /reporting/includes/doctext.inc + /reporting/includes/doctext2.inc + /reporting/includes/header2.inc 31-Dec-2009 Joe Hunt # When updating tax rate, it didn't show and calculate correct in documents. diff --git a/reporting/includes/doctext.inc b/reporting/includes/doctext.inc index d94ffe0..79812ec 100644 --- a/reporting/includes/doctext.inc +++ b/reporting/includes/doctext.inc @@ -42,7 +42,7 @@ if (isset($header2type)) } else { - $doc_Our_Ref = _("Our Ref."); + $doc_Our_Ref = _("Sales Person"); $doc_Your_VAT_no = _("Your VAT no."); $doc_Payment_Terms = _("Payment Terms"); $doc_Customers_Ref = _("Customers Reference"); diff --git a/reporting/includes/doctext2.inc b/reporting/includes/doctext2.inc index d4a725b..f1e3e0e 100644 --- a/reporting/includes/doctext2.inc +++ b/reporting/includes/doctext2.inc @@ -42,7 +42,7 @@ if (isset($header2type)) } else { - $doc_Our_Ref = "Our Ref."; + $doc_Our_Ref = "Sales Person"; $doc_Your_VAT_no = "Your VAT no."; $doc_Payment_Terms = "Payment Terms"; $doc_Customers_Ref = "Customers Reference"; diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index c3fd180..da51522 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -120,7 +120,7 @@ $this->Font(); $this->row = $adrline; $this->NewLine(3); - $this->Text($mcol + 100, $doc_Date.":"); + $this->Text($mcol + 100, $doc_Date); if ($doctype == 7 || $doctype == 8 || $doctype == 9) $this->Text($mcol + 180, sql2date($myrow['ord_date'])); elseif ($doctype == 26) -- 2.30.2