@model CheckoutAttributeSearchModel @{ //page title ViewBag.PageTitle = T("Admin.Catalog.Attributes.CheckoutAttributes").Text; //active menu item (system name) NopHtml.SetActiveMenuItemSystemName("Checkout attributes"); }

@T("Admin.Catalog.Attributes.CheckoutAttributes")

@T("Admin.Common.AddNew") @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.CheckoutAttributeListButtons, additionalData = Model })

@T("Admin.Catalog.Attributes.CheckoutAttributes.Description")

@await Html.PartialAsync("Table", new DataTablesModel { Name = "checkoutattributes-grid", UrlRead = new DataUrl("List", "CheckoutAttribute", null), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(ProductAttributeModel.Id)) { IsMasterCheckBox = true, Render = new RenderCheckBox("checkbox_checkoutattributes"), ClassName = NopColumnClassDefaults.CenterAll, Width = "50" }, new ColumnProperty(nameof(CheckoutAttributeModel.Name)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Fields.Name").Text }, new ColumnProperty(nameof(CheckoutAttributeModel.AttributeControlTypeName)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Fields.AttributeControlType").Text, Width = "200" }, new ColumnProperty(nameof(CheckoutAttributeModel.IsRequired)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Fields.IsRequired").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() }, new ColumnProperty(nameof(CheckoutAttributeModel.DisplayOrder)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Fields.DisplayOrder").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(CheckoutAttributeModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonEdit(new DataUrl("~/Admin/CheckoutAttribute/Edit")) } } })