mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-28 17:03:57 +00:00
large commit
This commit is contained in:
@@ -13,7 +13,7 @@ class Company extends AbstractModel
|
||||
|
||||
public function addressBook()
|
||||
{
|
||||
return $this->hasMany('App\Models\AddressBook', 'reference_id', 'id')->where('type', '=', 1);
|
||||
return $this->hasMany('App\Models\AddressBook', 'reference_id', 'id')->where('type', '=', 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user