@model PowderCoating.Application.DTOs.Vendor.VendorDto @{ ViewData["Title"] = Model.CompanyName; ViewData["PageIcon"] = "bi-truck"; ViewData["PageHelpTitle"] = "Vendor Details"; ViewData["PageHelpContent"] = "Full detail for this vendor. Use Quick Actions to view or add inventory items assigned to this supplier, or create a purchase order. Business Information shows your account number at the vendor and their payment terms — these pre-fill on bills and purchase orders."; }
@Model.CompanyName
@if (!string.IsNullOrEmpty(Model.ContactName)) { @Model.ContactName } else { Not provided }
@if (!string.IsNullOrEmpty(Model.Email)) { @Model.Email } else { Not provided }
@if (!string.IsNullOrEmpty(Model.Phone)) { @Model.Phone } else { Not provided }
@if (!string.IsNullOrEmpty(Model.Website)) { @Model.Website } else { 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 }
@if (!string.IsNullOrEmpty(Model.Country)) {@Model.Country
} } else {No address provided
}@(Model.AccountNumber ?? "Not provided")
@(Model.TaxId ?? "Not provided")
@(Model.PaymentTerms ?? "Not set")
@if (Model.CreditLimit.HasValue) { @Model.CreditLimit.Value.ToString("C") } else { Not set }
@Model.Notes
@Model.CreatedAt.ToString("MMMM dd, yyyy")
@if (Model.IsActive) { Active } else { Inactive }
@if (Model.IsPreferred) { Yes } else { No }