Merge pull request #2847 from RnBConsulting/develop
Also check archived/trashed invoice_id associated with a task
This commit is contained in:
commit
8ed210d618
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue