update api register
This commit is contained in:
@@ -95,4 +95,9 @@ class Customer extends Model
|
||||
{
|
||||
return $this->hasMany(CustomerContact::class);
|
||||
}
|
||||
|
||||
public function linkedUsers()
|
||||
{
|
||||
return $this->belongsToMany(User::class, 'customer_user_links')->withPivot(['tenant_id', 'relationship', 'is_primary'])->withTimestamps();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user