Try your search with a different keyword or use * as a wildcard.
@model CustomerRoleSearchModel
@{
//page title
ViewBag.PageTitle = T("Admin.Customers.CustomerRoles").Text;
//active menu item (system name)
NopHtml.SetActiveMenuItemSystemName("Customer roles");
}
@T("Admin.Customers.CustomerRoles")
@T("Admin.Common.AddNew")
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.CustomerRoleListButtons, additionalData = Model })
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "customerroles-grid",
UrlRead = new DataUrl("List", "CustomerRole", null),
Length = Model.PageSize,
LengthMenu = Model.AvailablePageSizes,
ColumnCollection = new List
{
new ColumnProperty(nameof(CustomerRoleModel.Name))
{
Title = T("Admin.Customers.CustomerRoles.Fields.Name").Text,
Width = "300"
},
new ColumnProperty(nameof(CustomerRoleModel.FreeShipping))
{
Title = T("Admin.Customers.CustomerRoles.Fields.FreeShipping").Text,
Width = "100",
ClassName = NopColumnClassDefaults.CenterAll,
Render = new RenderBoolean()
},
new ColumnProperty(nameof(CustomerRoleModel.TaxExempt))
{
Title = T("Admin.Customers.CustomerRoles.Fields.TaxExempt").Text,
Width = "100",
ClassName = NopColumnClassDefaults.CenterAll,
Render = new RenderBoolean()
},
new ColumnProperty(nameof(CustomerRoleModel.Active))
{
Title = T("Admin.Customers.CustomerRoles.Fields.Active").Text,
Width = "100",
ClassName = NopColumnClassDefaults.CenterAll,
Render = new RenderBoolean()
},
new ColumnProperty(nameof(CustomerRoleModel.IsSystemRole))
{
Title = T("Admin.Customers.CustomerRoles.Fields.IsSystemRole").Text,
Width = "100",
ClassName = NopColumnClassDefaults.CenterAll,
Render = new RenderBoolean()
},
new ColumnProperty(nameof(CustomerRoleModel.Id))
{
Title = T("Admin.Common.Edit").Text,
Width = "100",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderButtonEdit(new DataUrl("Edit"))
}
}
})