Try your search with a different keyword or use * as a wildcard.
@model RecurringPaymentModel
@if (Model.LastPaymentFailed)
{
@T("Admin.RecurringPayments.History.LastPaymentFailed")
}
@if (!string.IsNullOrEmpty(Model.NextPaymentDate))
{
@T("Admin.RecurringPayments.History.NextPaymentDate")
:
@Model.NextPaymentDate
}
@if (!string.IsNullOrEmpty(Model.NextPaymentDate) || Model.CanCancelRecurringPayment)
{
@if (!string.IsNullOrEmpty(Model.NextPaymentDate))
{
}
@if (Model.CanCancelRecurringPayment)
{
}
}
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "history-grid",
UrlRead = new DataUrl("HistoryList", "RecurringPayment", new RouteValueDictionary { [nameof(Model.RecurringPaymentHistorySearchModel.RecurringPaymentId)] = Model.RecurringPaymentHistorySearchModel.RecurringPaymentId }),
Length = Model.RecurringPaymentHistorySearchModel.PageSize,
LengthMenu = Model.RecurringPaymentHistorySearchModel.AvailablePageSizes,
ColumnCollection = new List
{
new ColumnProperty(nameof(RecurringPaymentHistoryModel.CustomOrderNumber))
{
Title = T("Admin.RecurringPayments.History.CustomOrderNumber").Text,
ClassName = NopColumnClassDefaults.Button,
Width = "200",
Render = new RenderCustom("renderColumnOrderInfo")
},
new ColumnProperty(nameof(RecurringPaymentHistoryModel.OrderStatus))
{
Title = T("Admin.RecurringPayments.History.OrderStatus").Text,
Width = "200"
},
new ColumnProperty(nameof(RecurringPaymentHistoryModel.PaymentStatus))
{
Title = T("Admin.RecurringPayments.History.PaymentStatus").Text,
Width = "200"
},
new ColumnProperty(nameof(RecurringPaymentHistoryModel.ShippingStatus))
{
Title = T("Admin.RecurringPayments.History.ShippingStatus").Text,
Width = "200"
},
new ColumnProperty(nameof(RecurringPaymentHistoryModel.CreatedOn))
{
Title = T("Admin.RecurringPayments.History.CreatedOn").Text,
Width = "100",
Render = new RenderDate()
}
}
})