Skip to content

Commit

Permalink
Merge pull request #12010 from laudeco/feature/12006-country-on-pdf-f…
Browse files Browse the repository at this point in the history
…ooter

[#12006] - adds the country in the address of the PDF's footer
  • Loading branch information
eldy committed Oct 3, 2019
2 parents e52b294 + 3a25bea commit c223c56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions htdocs/core/lib/pdf.lib.php
Expand Up @@ -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)
{
Expand Down

0 comments on commit c223c56

Please sign in to comment.