Try your search with a different keyword or use * as a wildcard.
@model CustomerModel
@using Nop.Core.Domain.Customers
@using Nop.Services
@using Nop.Services.Stores
@inject IStoreService storeService
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "customer-rewardpoints-grid",
UrlRead = new DataUrl("RewardPointsHistorySelect", "Customer", new RouteValueDictionary { [nameof(Model.CustomerRewardPointsSearchModel.CustomerId)] = Model.CustomerRewardPointsSearchModel.CustomerId }),
Length = Model.CustomerRewardPointsSearchModel.PageSize,
LengthMenu = Model.CustomerRewardPointsSearchModel.AvailablePageSizes,
ColumnCollection = new List
{
new ColumnProperty(nameof(CustomerRewardPointsModel.StoreName))
{
Title = T("Admin.Customers.Customers.RewardPoints.Fields.Store").Text,
Visible = (await storeService.GetAllStoresAsync()).Count > 1
},
new ColumnProperty(nameof(CustomerRewardPointsModel.Points))
{
Title = T("Admin.Customers.Customers.RewardPoints.Fields.Points").Text
},
new ColumnProperty(nameof(CustomerRewardPointsModel.PointsBalance))
{
Title = T("Admin.Customers.Customers.RewardPoints.Fields.PointsBalance").Text
},
new ColumnProperty(nameof(CustomerRewardPointsModel.Message))
{
Title = T("Admin.Customers.Customers.RewardPoints.Fields.Message").Text
},
new ColumnProperty(nameof(CustomerRewardPointsModel.CreatedOn))
{
Title = T("Admin.Customers.Customers.RewardPoints.Fields.CreatedDate").Text,
Render = new RenderDate()
},
new ColumnProperty(nameof(CustomerRewardPointsModel.EndDate))
{
Title = T("Admin.Customers.Customers.RewardPoints.Fields.EndDate").Text,
Render = new RenderDate()
}
}
})
@T("Admin.Customers.Customers.RewardPoints.AddTitle")