Fix: problme d'uniformisation des noms de variables
This commit is contained in:
parent
a58b3160a3
commit
22a8f302cd
@ -399,6 +399,7 @@ class Contact
|
||||
$this->fullname = trim($this->firstname . ' ' . $this->name);
|
||||
|
||||
$this->address = $obj->address;
|
||||
$this->adresse = $obj->address; // Todo: uniformiser le nom des variables
|
||||
$this->cp = $obj->cp;
|
||||
$this->ville = $obj->ville;
|
||||
$this->fk_pays = $obj->fk_pays;
|
||||
|
||||
@ -1028,6 +1028,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
$result=$object->fetch_contact($idcontact);
|
||||
if ($result > 0) $receiver=$object->contact;
|
||||
$receiver=$object->contact;
|
||||
$receiver->nom = $receiver->fullname;
|
||||
}
|
||||
}
|
||||
if (! $receiver) $receiver=$object->client;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user