mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-05 10:00:15 -04:00
Also check archived/trashed invoiced associated with a task
This commit is contained in:
parent
f134ee1b51
commit
51dd22d7b5
@ -54,7 +54,7 @@ class Task extends EntityModel
|
||||
*/
|
||||
public function invoice()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Invoice');
|
||||
return $this->belongsTo('App\Models\Invoice')->withTrashed();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user