Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

List.cshtml

@model RecurringPaymentSearchModel

@{
    //page title
    ViewBag.PageTitle = T("Admin.RecurringPayments").Text;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Recurring payments");
}

@T("Admin.RecurringPayments")

  @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ReccuringPaymentListButtons, additionalData = Model })

@T("Admin.RecurringPayments.Description")

@await Html.PartialAsync("Table", new DataTablesModel { Name = "recurringpayments-grid", UrlRead = new DataUrl("List", "RecurringPayment", null), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(RecurringPaymentModel.Id)) { Title = T("Admin.RecurringPayments.Fields.ID").Text, Width = "50" }, new ColumnProperty(nameof(RecurringPaymentModel.CustomerId)) { Title = T("Admin.RecurringPayments.Fields.Customer").Text, Width = "200", Render = new RenderCustom("renderColumnCustomerInfo") }, new ColumnProperty(nameof(RecurringPaymentModel.CycleLength)) { Title = T("Admin.RecurringPayments.Fields.CycleLength").Text, Width = "100" }, new ColumnProperty(nameof(RecurringPaymentModel.CyclePeriodStr)) { Title = T("Admin.RecurringPayments.Fields.CyclePeriod").Text, Width = "100" }, new ColumnProperty(nameof(RecurringPaymentModel.IsActive)) { Title = T("Admin.RecurringPayments.Fields.IsActive").Text, Width = "200", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() }, new ColumnProperty(nameof(RecurringPaymentModel.StartDate)) { Title = T("Admin.RecurringPayments.Fields.StartDate").Text, Width = "200" }, new ColumnProperty(nameof(RecurringPaymentModel.NextPaymentDate)) { Title = T("Admin.RecurringPayments.Fields.NextPaymentDate").Text, Width = "200" }, new ColumnProperty(nameof(RecurringPaymentModel.TotalCycles)) { Title = T("Admin.RecurringPayments.Fields.TotalCycles").Text, Width = "100" }, new ColumnProperty(nameof(RecurringPaymentModel.CyclesRemaining)) { Title = T("Admin.RecurringPayments.Fields.CyclesRemaining").Text, Width = "100" }, new ColumnProperty(nameof(RecurringPaymentModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonEdit(new DataUrl("Edit")) } } })