Merge pull request #12010 from laudeco/feature/12006-country-on-pdf-footer

[#12006] - adds the country in the address of the PDF's footer
This commit is contained in:
Laurent Destailleur 2019-10-03 18:15:39 +02:00 committed by GitHub
commit c223c5635b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{