Location observers

This commit is contained in:
David Bomba 2025-03-01 08:58:06 +11:00
parent b8c9f28cca
commit 4e58c92bd3
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@ class Location extends BaseModel
return $this->belongsTo(Client::class);
}
public function user()
{
return $this->belongsTo(User::class);
}
public function vendor()
{
return $this->belongsTo(Vendor::class);