mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 11:14:31 -04:00
Merge pull request #2847 from RnBConsulting/develop
Also check archived/trashed invoice_id associated with a task
This commit is contained in:
commit
8ed210d618
@ -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…
x
Reference in New Issue
Block a user