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(); } /**