FIX : dolibarrize fk_soc ->socid for member

This commit is contained in:
ptibogxiv 2019-04-26 13:23:30 +02:00 committed by GitHub
parent 0c432c28a8
commit 3e02dc2465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,7 @@ class Adherent extends CommonObject
* @var int Thirdparty ID
*/
public $fk_soc;
public $socid;
/**
* @var string Address
@ -1275,6 +1276,7 @@ class Adherent extends CommonObject
$this->societe = $obj->company;
$this->company = $obj->company;
$this->fk_soc = $obj->fk_soc;
$this->socid = $obj->fk_soc;
$this->address = $obj->address;
$this->zip = $obj->zip;
$this->town = $obj->town;