diff --git a/app/Models/Location.php b/app/Models/Location.php index 6d2f84ccf9..c68ac8e168 100644 --- a/app/Models/Location.php +++ b/app/Models/Location.php @@ -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);