@model PowderCoating.Application.DTOs.Equipment.EquipmentDto @{ ViewData["Title"] = "Delete Equipment"; ViewData["PageIcon"] = "bi-tools"; }
This equipment record will be marked as deleted. All associated maintenance records will be preserved but the equipment will no longer appear in the active list.
@Model.EquipmentName
@(Model.EquipmentNumber ?? "Not assigned")
@Model.EquipmentType
@(Model.Location ?? "—")
@{ var statusClass = Model.Status switch { "Operational" => "success", "NeedsMaintenance" => "warning", "UnderMaintenance" => "info", "OutOfService" => "danger", _ => "secondary" }; } @Model.StatusDisplay
@Model.PurchasePrice.ToString("C")
@(Model.Manufacturer ?? "—")
@(Model.Model ?? "—")
@(Model.SerialNumber ?? "—")