Merge task->invoice->withTrashed()

This commit is contained in:
Hillel Coren 2019-05-27 18:10:40 +03:00
parent e3dcf4aa47
commit 3a45a48a1a

View File

@ -54,7 +54,7 @@ class Task extends EntityModel
*/ */
public function invoice() public function invoice()
{ {
return $this->belongsTo('App\Models\Invoice'); return $this->belongsTo('App\Models\Invoice')->withTrashed();
} }
/** /**