Webiant Logo Webiant Logo
  1. No results found.

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

_CreateOrUpdate.Values.cshtml

@model CheckoutAttributeModel

@if (Model.Id > 0)
{
    
@await Html.PartialAsync("Table", new DataTablesModel { Name = "checkoutattributevalues-grid", UrlRead = new DataUrl("ValueList", "CheckoutAttribute", new RouteValueDictionary { [nameof(CheckoutAttributeValueSearchModel.CheckoutAttributeId)] = Model.CheckoutAttributeValueSearchModel.CheckoutAttributeId }), UrlDelete = new DataUrl("ValueDelete", "CheckoutAttribute", null), Length = Model.CheckoutAttributeValueSearchModel.PageSize, LengthMenu = Model.CheckoutAttributeValueSearchModel.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(CheckoutAttributeValueModel.Name)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.Name").Text }, new ColumnProperty(nameof(CheckoutAttributeValueModel.PriceAdjustment)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.PriceAdjustment").Text, Width = "200" }, new ColumnProperty(nameof(CheckoutAttributeValueModel.WeightAdjustment)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.WeightAdjustment").Text, Width = "200" }, new ColumnProperty(nameof(CheckoutAttributeValueModel.IsPreSelected)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.IsPreSelected").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() }, new ColumnProperty(nameof(CheckoutAttributeValueModel.DisplayOrder)) { Title = T("Admin.Catalog.Attributes.CheckoutAttributes.Values.Fields.DisplayOrder").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(CheckoutAttributeValueModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderCustom("renderColumnEdit") }, new ColumnProperty(nameof(CheckoutAttributeValueModel.Id)) { Title = T("Admin.Common.Delete").Text, Width = "100", Render = new RenderButtonRemove(T("Admin.Common.Delete").Text), ClassName = NopColumnClassDefaults.Button } } })
} else {
@T("Admin.Catalog.Attributes.CheckoutAttributes.Values.SaveBeforeEdit")
}