Merge pull request #2847 from RnBConsulting/develop

Also check archived/trashed invoice_id associated with a task
This commit is contained in:
Hillel Coren 2019-05-27 18:08:56 +03:00 committed by GitHub
commit 8ed210d618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
}
/**