@T("Admin.Common.Search")
Try your search with a different keyword or use * as a wildcard.
@model NeverSoldReportSearchModel
@{
//page title
ViewBag.PageTitle = T("Admin.Reports.Sales.NeverSold").Text;
//active menu item (system name)
NopHtml.SetActiveMenuItemSystemName("Products never purchased");
}
@{
const string hideSearchBlockAttributeName = "NeverSoldReportPage.HideSearchBlock";
var hideSearchBlock = await genericAttributeService.GetAttributeAsync(await workContext.GetCurrentCustomerAsync(), hideSearchBlockAttributeName);
}
@T("Admin.Reports.Sales.NeverSold")
@T("Admin.Common.Search")
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "neversoldreport-grid",
UrlRead = new DataUrl("NeverSoldList", "Report", null),
SearchButtonId = "search-neversoldreport",
Length = Model.PageSize,
LengthMenu = Model.AvailablePageSizes,
Filters = new List
{
new FilterParameter(nameof(Model.StartDate), typeof(DateTime?)),
new FilterParameter(nameof(Model.EndDate), typeof(DateTime?)),
new FilterParameter(nameof(Model.SearchCategoryId)),
new FilterParameter(nameof(Model.SearchManufacturerId)),
new FilterParameter(nameof(Model.SearchStoreId)),
new FilterParameter(nameof(Model.SearchVendorId))
},
ColumnCollection = new List
{
new ColumnProperty(nameof(NeverSoldReportModel.ProductName))
{
Title = T("Admin.Reports.Sales.NeverSold.Fields.Name").Text
},
new ColumnProperty(nameof(NeverSoldReportModel.ProductId))
{
Title = T("Admin.Common.Edit").Text,
Width = "100",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderButtonView(new DataUrl("~/Admin/Product/Edit/"))
}
}
})