@page @model Admin.Pages.Store.Product.IndexModel @using Domain.Entities.Store.ValueObject @{ ViewData["Title"] = "상품 관리"; }

@ViewData["Title"]



Total : @Model.Total.ToString("N0")
추가
@Html.AntiForgeryToken()
@if (Model.List == null || Model.List.Count <= 0) { } else { @foreach (var row in Model.List) { @if (row.Stock == -1) { } else { } } }
썸네일 게임 상품명 유형 가격 재고 순서 사용 판매 시작 판매 종료 등록 비고
No Data.
@if (!string.IsNullOrEmpty(row.Thumbnail)) { } else { - } @row.GameName @row.Name @row.TypeText @if (row.DiscountType != DiscountType.None && row.SalePrice != row.Price) {
@row.SalePrice.ToString("N0") P
@row.Price.ToString("N0") P @if (row.DiscountType == DiscountType.Percent) { @($"-{row.DiscountValue}%") } else { @($"-{row.DiscountValue:N0} P") }
} else { @($"{row.Price:N0} P") }
무제한 @row.Stock @row.Order @row.IsActive @(row.SaleStartAt ?? "-") @(row.SaleEndAt ?? "-") @row.CreatedAt
@section Scripts { }