Webiant Logo Webiant Logo
  1. No results found.

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

Configure.cshtml

@inject Nop.Core.Domain.Common.AdminAreaSettings adminAreaSettings
@using Nop.Plugin.Pickup.PickupInStore.Models
@using Nop.Web.Framework.Models.DataTables
@model StorePickupPointSearchModel
@{
    Layout = "_ConfigurePlugin";
}

@await Html.PartialAsync("Table", new DataTablesModel { Name = "pickup-points-grid", UrlRead = new DataUrl("List", "PickupInStore", null), UrlDelete = new DataUrl("Delete", "PickupInStore", null), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(StorePickupPointModel.Name)) { Title = T("Plugins.Pickup.PickupInStore.Fields.Name").Text, Width = "200" }, new ColumnProperty(nameof(StorePickupPointModel.OpeningHours)) { Title = T("Plugins.Pickup.PickupInStore.Fields.OpeningHours").Text, Width = "200" }, new ColumnProperty(nameof(StorePickupPointModel.PickupFee)) { Title = T("Plugins.Pickup.PickupInStore.Fields.PickupFee").Text, Width = "100" }, new ColumnProperty(nameof(StorePickupPointModel.DisplayOrder)) { Title = T("Plugins.Pickup.PickupInStore.Fields.DisplayOrder").Text, Width = "100" }, new ColumnProperty(nameof(StorePickupPointModel.StoreName)) { Title = T("Plugins.Pickup.PickupInStore.Fields.Store").Text, Width = "100" }, new ColumnProperty(nameof(StorePickupPointModel.Id)) { Title = T("Admin.Common.Edit").Text, ClassName = NopColumnClassDefaults.Button, Width = "100", Render = new RenderCustom("renderColumnEdit") }, new ColumnProperty(nameof(StorePickupPointModel.Id)) { Title = T("Admin.Common.Delete").Text, ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonRemove(T("Admin.Common.Delete").Text), Width = "100" } } })