@model List @{ ViewData["Title"] = "Pricing Tiers"; ViewData["PageIcon"] = "bi-tags-fill"; ViewData["PageHelpTitle"] = "Pricing Tiers"; ViewData["PageHelpContent"] = "Pricing tiers let you automatically apply a discount to quotes for your best customers. Create tiers here, then assign a tier to a customer on their profile. Every new quote for that customer will show the tier discount as a separate line item in the pricing breakdown."; }
@if (TempData["SuccessMessage"] != null) { } @if (TempData["ErrorMessage"] != null) { }
@if (!Model.Any()) {

No pricing tiers defined yet.

Create First Tier
} else { @foreach (var tier in Model) { }
Tier Name Description Discount Customers Status Actions
@tier.TierName @(tier.Description ?? "—") @if (tier.DiscountPercent == 0) { No discount } else { @tier.DiscountPercent.ToString("0.##")% } @if (tier.CustomerCount > 0) { @tier.CustomerCount } else { 0 } @if (tier.IsActive) { Active } else { Inactive }
@Html.AntiForgeryToken()
@Html.AntiForgeryToken()
}
How tiers work: Assign a tier to a customer on their profile. The tier's discount percentage is automatically deducted from quote totals when that customer is selected. Tiers with assigned customers cannot be deleted — deactivate them instead.