@model PowderCoating.Application.DTOs.Customer.CustomerDto @{ ViewData["Title"] = "Delete Customer"; ViewData["PageIcon"] = "bi-people"; }
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.
@Model.CompanyName
@if (Model.IsCommercial) { Commercial } else { Individual }
@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")
@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
}@Model.CurrentBalance.ToString("C")
@Model.CreditLimit.ToString("C")
@(Model.PaymentTerms ?? "Not set")