From 3a25beabe6b3cab70af0fff6eda187450817e983 Mon Sep 17 00:00:00 2001 From: Laurent De Coninck Date: Tue, 1 Oct 2019 21:03:58 +0200 Subject: [PATCH] add the country in the address of the PDF's footer --- htdocs/core/lib/pdf.lib.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/core/lib/pdf.lib.php b/htdocs/core/lib/pdf.lib.php index ba42ebd23d8..4093ec2d2b8 100644 --- a/htdocs/core/lib/pdf.lib.php +++ b/htdocs/core/lib/pdf.lib.php @@ -935,6 +935,11 @@ function pdf_pagefoot(&$pdf, $outputlangs, $paramfreetext, $fromcompany, $marge_ { $line1.=($line1?" ":"").$fromcompany->town; } + // Country + if ($fromcompany->country) + { + $line1.=($line1?", ":"").$fromcompany->country; + } // Phone if ($fromcompany->phone) {