@using PowderCoating.Web.Controllers @model List @{ ViewData["Title"] = "Data Export"; } @section Styles { }

Data Export

Export company data to Excel for offboarding, audits, GDPR requests, or migration
@if (TempData["Error"] != null) {
@TempData["Error"]
}
@* Left: company list *@
Select a Company
@foreach (var c in Model) { }
Company Plan Status Created
@c.CompanyName
@c.Plan @if (c.IsActive) { Active } else { Inactive } @c.CreatedAt.ToString("MM/dd/yyyy")
@foreach (var c in Model) {
@c.CompanyName
Created @c.CreatedAt.ToString("MM/dd/yyyy")
Plan @c.Plan
Status @if (c.IsActive) { Active } else { Inactive }
}
@* Right: export options — always visible *@
Export Options
Select a company from the list to begin.
@Html.AntiForgeryToken()
The Users sheet contains personal data (names, emails, login history). Include only when required for a data access request or offboarding.
@section Scripts { }