@page @model RR3CommunityServer.Pages.PurchasesModel @{ ViewData["Title"] = "Purchase History"; }
View all in-game purchases
| ID | User | SKU | Price | Status | Purchase Date | Actions |
|---|---|---|---|---|---|---|
| @purchase.Id |
@if (purchase.UserId.HasValue)
{
User @purchase.UserId
}
else
{
Unknown
}
|
@purchase.Sku |
@if (purchase.Price == 0) { FREE } else { @purchase.Price.ToString("C2") } | @if (purchase.Status == "approved") { ✓ Approved } else if (purchase.Status == "pending") { ⏳ Pending } else { ✗ @purchase.Status } | @purchase.PurchaseDate.ToString("g") |