Webiant Logo Webiant Logo
  1. No results found.

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

Methods.cshtml

@model ShippingMethodSearchModel

@{
    //page title
    ViewBag.PageTitle = T("Admin.Configuration.Shipping.Methods").Text;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Shipping providers");
}

@T("Admin.Configuration.Shipping.Methods") @T("Admin.Configuration.Shipping.Providers.BackToList")

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

@T("Admin.Configuration.Shipping.Methods.Description")

@await Html.PartialAsync("Table", new DataTablesModel { Name = "shippingmethod-grid", UrlRead = new DataUrl("Methods", "Shipping", null), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(ShippingMethodModel.Name)) { Title = T("Admin.Configuration.Shipping.Methods.Fields.Name").Text, Width = "200" }, new ColumnProperty(nameof(ShippingMethodModel.Description)) { Title = T("Admin.Configuration.Shipping.Methods.Fields.Description").Text, Width = "400" }, new ColumnProperty(nameof(ShippingMethodModel.DisplayOrder)) { Title = T("Admin.Configuration.Shipping.Methods.Fields.DisplayOrder").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(ShippingMethodModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonEdit(new DataUrl("EditMethod")) } } })