Fixes for relations
This commit is contained in:
parent
5e06dceb2f
commit
a73e961123
3 changed files with 6 additions and 6 deletions
|
|
@ -21,7 +21,7 @@ class InvoiceArchivedActivity implements ShouldQueue
|
|||
{
|
||||
protected $activity_repo;
|
||||
|
||||
public $delay = 5;
|
||||
public $delay = 15;
|
||||
|
||||
/**
|
||||
* Create the event listener.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class InvoicePaidActivity implements ShouldQueue
|
|||
{
|
||||
protected $activity_repo;
|
||||
|
||||
public $delay = 5;
|
||||
public $delay = 10;
|
||||
|
||||
/**
|
||||
* Create the event listener.
|
||||
|
|
|
|||
|
|
@ -71,22 +71,22 @@ class Task extends BaseModel
|
|||
|
||||
public function client()
|
||||
{
|
||||
return $this->belongsTo(Client::class);
|
||||
return $this->belongsTo(Client::class)->withTrashed();
|
||||
}
|
||||
|
||||
public function status()
|
||||
{
|
||||
return $this->belongsTo(TaskStatus::class);
|
||||
return $this->belongsTo(TaskStatus::class)->withTrashed();
|
||||
}
|
||||
|
||||
public function invoice()
|
||||
{
|
||||
return $this->belongsTo(Invoice::class);
|
||||
return $this->belongsTo(Invoice::class)->withTrashed();
|
||||
}
|
||||
|
||||
public function project()
|
||||
{
|
||||
return $this->belongsTo(Project::class);
|
||||
return $this->belongsTo(Project::class)->withTrashed();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue