Adapt projects to deletable customers.
This commit is contained in:
@@ -69,7 +69,7 @@ class Project extends Model
|
||||
*/
|
||||
public function customer(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Customer::class);
|
||||
return $this->belongsTo(Customer::class)->withTrashed();
|
||||
}
|
||||
|
||||
public function invoices(): HasMany
|
||||
|
||||
Reference in New Issue
Block a user