Adapt projects to deletable customers.

This commit is contained in:
2025-02-13 13:03:05 +01:00
parent 71e6a74120
commit f3d8c00d78

View File

@@ -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