Make customers deletable and recoverable.

This commit is contained in:
2025-02-13 13:00:44 +01:00
parent d5961d202f
commit 71e6a74120
6 changed files with 122 additions and 22 deletions

View File

@@ -99,7 +99,7 @@ class Invoice extends Model
*/
public function customer(): BelongsTo
{
return $this->belongsTo(Customer::class);
return $this->belongsTo(Customer::class)->withTrashed();
}
/**