Also check archived/trashed invoiced associated with a task

This commit is contained in:
Andreas Böhler 2019-05-27 14:22:57 +02:00
parent f134ee1b51
commit 51dd22d7b5

View File

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