From f996da294d726c6576dcaf08ddfdfb20cafd2bd5 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 4 Sep 2021 13:35:53 +1000 Subject: [PATCH] Include trashed user on client record --- app/Models/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Client.php b/app/Models/Client.php index 894d928a036d..6092c8c6bfc6 100644 --- a/app/Models/Client.php +++ b/app/Models/Client.php @@ -213,7 +213,7 @@ class Client extends BaseModel implements HasLocalePreference public function user() { - return $this->belongsTo(User::class); + return $this->belongsTo(User::class)->withTrashed(); } public function assigned_user()