Webiant Logo Webiant Logo
  1. No results found.

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

Providers.cshtml

@model TaxProviderSearchModel
@using Nop.Web.Framework.Models.AdminAreaTour

@{
    //page title
    ViewBag.PageTitle = T("Admin.Configuration.Tax.Providers").Text;
    //tour step
    ViewBag.TourStep = TourStep.TaxProviders;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Tax providers");

    string editQueryString = string.Empty;
    var showTour = ViewBag.ShowTour ?? false;
    if (showTour)
    {
        editQueryString = "?showtour=true";
    }
}

@await Html.PartialAsync("_AdminTour")

@T("Admin.Configuration.Tax.Providers")

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

@T("Admin.Configuration.Tax.Providers.DownloadMorePlugins", OfficialSite.TaxPlugins + Utm.OnAdminTaxPlugins.Replace('?', '&'))

@await Html.PartialAsync("Table", new DataTablesModel { Name = "tax-providers-grid", RowIdBasedOnField = nameof(PaymentMethodModel.SystemName), UrlRead = new DataUrl("Providers", "Tax", null), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(TaxProviderModel.FriendlyName)) { Title = T("Admin.Configuration.Tax.Providers.Fields.FriendlyName").Text, Width = "250" }, new ColumnProperty(nameof(TaxProviderModel.SystemName)) { Title = T("Admin.Configuration.Tax.Providers.Fields.SystemName").Text, Width = "250" }, new ColumnProperty(nameof(TaxProviderModel.IsPrimaryTaxProvider)) { Title = T("Admin.Configuration.Tax.Providers.Fields.IsPrimaryTaxProvider").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() }, new ColumnProperty(nameof(TaxProviderModel.SystemName)) { Title = T("Admin.Configuration.Tax.Providers.Fields.MarkAsPrimaryProvider").Text, Width = "200", ClassName = NopColumnClassDefaults.Button + " column-primary", Render = new RenderCustom("renderColumnSystemName") }, new ColumnProperty(nameof(TaxProviderModel.SystemName)) { Title = T("Admin.Configuration.Tax.Providers.Configure").Text, Width = "150", ClassName = NopColumnClassDefaults.Button + " column-configure", Render = new RenderCustom("renderColumnConfigure") } } })