Try your search with a different keyword or use * as a wildcard.
@model CustomerRewardPointsModel
@{
Layout = "_ColumnsTwo";
//title
NopHtml.AddTitleParts(T("PageTitle.Account").Text);
//page class
NopHtml.AppendPageCssClassParts("html-account-page");
NopHtml.AppendPageCssClassParts("html-reward-points-page");
}
@section left
{
@await Component.InvokeAsync(typeof(CustomerNavigationViewComponent), new { selectedTabId = CustomerNavigationEnum.RewardPoints })
}
@T("Account.MyAccount") - @T("Account.RewardPoints")
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.CustomerRewardPointsTop, additionalData = Model })
@T("RewardPoints.CurrentBalance", Model.RewardPointsBalance, Model.RewardPointsAmount)
@if (Model.MinimumRewardPointsBalance > 0)
{
@T("RewardPoints.MinimumBalance", Model.MinimumRewardPointsBalance, Model.MinimumRewardPointsAmount)
}
@T("RewardPoints.History")
@if (Model.RewardPoints.Count > 0)
{
@T("RewardPoints.Fields.CreatedDate")
@T("RewardPoints.Fields.Points")
@T("RewardPoints.Fields.PointsBalance")
@T("RewardPoints.Fields.EndDate")
@for (var i = 0; i < Model.RewardPoints.Count; i++)
{
var item = Model.RewardPoints[i];
@item.CreatedOn
@item.Points
@item.PointsBalance
@item.EndDate
}
var pager = await Html.PagerAsync(Model.PagerModel);
if (!string.IsNullOrEmpty(await pager.RenderHtmlContentAsync()))
{
@pager
}
}
else
{
@T("RewardPoints.NoHistory")
}
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.CustomerRewardPointsBottom, additionalData = Model })