@model PowderCoating.Application.DTOs.Customer.CustomerDto @{ ViewData["Title"] = "Delete Customer"; ViewData["PageIcon"] = "bi-people"; }
Are you sure you want to delete this customer?

This action will mark the customer as deleted. All related records (jobs, quotes, notes) will be preserved but the customer will no longer appear in active listings.

Customer to be Deleted
Company Information

@Model.CompanyName

@if (Model.IsCommercial) { Commercial } else { Individual }


Contact Information

@if (!string.IsNullOrEmpty(Model.ContactFirstName) || !string.IsNullOrEmpty(Model.ContactLastName)) { @Model.ContactFirstName @Model.ContactLastName } else { Not provided }

@Model.Email

@(Model.Phone ?? "Not provided")

@(Model.MobilePhone ?? "Not provided")


Address
@if (!string.IsNullOrEmpty(Model.Address)) {

@Model.Address

@if (!string.IsNullOrEmpty(Model.City)) { @Model.City } @if (!string.IsNullOrEmpty(Model.State)) { , @Model.State } @if (!string.IsNullOrEmpty(Model.ZipCode)) { @Model.ZipCode }

} else {

No address provided

}

Financial Information

@Model.CurrentBalance.ToString("C")

@Model.CreditLimit.ToString("C")

@(Model.PaymentTerms ?? "Not set")

@if (Model.CurrentBalance > 0) {
Warning: This customer has an outstanding balance of @Model.CurrentBalance.ToString("C"). Please ensure all balances are settled before deletion.
}
Cancel
What happens when you delete a customer?
  • The customer will be marked as deleted (soft delete)
  • They will no longer appear in active customer listings
  • All related jobs, quotes, and notes will be preserved
  • Historical records and reports will still include this customer
  • Administrators can restore deleted customers if needed