diff options
Diffstat (limited to 'classes/Correspondence.php')
-rw-r--r-- | classes/Correspondence.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/Correspondence.php b/classes/Correspondence.php index 4c7a23b..09873c3 100644 --- a/classes/Correspondence.php +++ b/classes/Correspondence.php @@ -183,7 +183,7 @@ class Correspondence extends FPDF { function SetContact($contact) { $this->contact = $contact; - $this->language = $contact->getLanguage(); + $this->language = $contact->language; } /** @@ -262,16 +262,16 @@ class Correspondence extends FPDF { $this->SetFont('','',11); $this->SetXY(30,56.5); - $this->Cell(90,5.5,utf8_decode($this->contact->getName())); + $this->Cell(90,5.5,utf8_decode($this->contact->name)); $this->Ln(); $this->SetXY(30,61.5); - $this->Cell(90,5.5,utf8_decode($this->contact->getAddress())); + $this->Cell(90,5.5,utf8_decode($this->contact->address)); $this->Ln(); $this->SetXY(30,66.5); - $this->Cell(90,5.5,utf8_decode($this->contact->getPostalCode().' '.$this->contact->getCity())); + $this->Cell(90,5.5,utf8_decode($this->contact->postal_code.' '.$this->contact->city)); $this->Ln(); $this->SetXY(30,71.5); - $this->Cell(90,5.5,utf8_decode($this->contact->getCountry())); + $this->Cell(90,5.5,utf8_decode($this->contact->country)); $this->Ln(); } |