From 3a45a48a1adfca098e15ce2068b853bea4a0884c Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 27 May 2019 18:10:40 +0300 Subject: [PATCH] Merge task->invoice->withTrashed() --- app/Models/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Task.php b/app/Models/Task.php index 44849fa8c9..5fa376e0a3 100644 --- a/app/Models/Task.php +++ b/app/Models/Task.php @@ -54,7 +54,7 @@ class Task extends EntityModel */ public function invoice() { - return $this->belongsTo('App\Models\Invoice'); + return $this->belongsTo('App\Models\Invoice')->withTrashed(); } /**