Try your search with a different keyword or use * as a wildcard.
@model OrderModel
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "ordernotes-grid",
UrlRead = new DataUrl("OrderNotesSelect", "Order", new RouteValueDictionary { [nameof(Model.OrderNoteSearchModel.OrderId)] = Model.OrderNoteSearchModel.OrderId }),
UrlDelete = new DataUrl("OrderNoteDelete", "Order", new RouteValueDictionary { [nameof(Model.OrderNoteSearchModel.OrderId)] = Model.OrderNoteSearchModel.OrderId }),
Length = Model.OrderNoteSearchModel.PageSize,
LengthMenu = Model.OrderNoteSearchModel.AvailablePageSizes,
ColumnCollection = new List
{
new ColumnProperty(nameof(OrderNoteModel.CreatedOn))
{
Title = T("Admin.Orders.OrderNotes.Fields.CreatedOn").Text,
Width = "200",
Render = new RenderDate()
},
new ColumnProperty(nameof(OrderNoteModel.Note))
{
Title = T("Admin.Orders.OrderNotes.Fields.Note").Text,
Encode = false
},
new ColumnProperty(nameof(OrderNoteModel.DownloadId))
{
Title = T("Admin.Orders.OrderNotes.Fields.Download").Text,
Width = "200",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderCustom("renderColumnDownloadId")
},
new ColumnProperty(nameof(OrderNoteModel.DisplayToCustomer))
{
Title = T("Admin.Orders.OrderNotes.Fields.DisplayToCustomer").Text,
Width = "150",
ClassName = NopColumnClassDefaults.CenterAll,
Render = new RenderBoolean()
},
new ColumnProperty(nameof(OrderNoteModel.Id))
{
Title = T("Admin.Common.Delete").Text,
Width = "100",
Render = new RenderButtonRemove(T("Admin.Common.Delete").Text),
ClassName = NopColumnClassDefaults.Button
}
}
})
@T("Admin.Orders.OrderNotes.AddTitle")