Webiant Logo Webiant Logo
  1. No results found.

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

Categories.cshtml

@model TaxCategorySearchModel

@{
    Layout = "_AdminLayout";

    //page title
    ViewBag.PageTitle = T("Admin.Configuration.Tax.Categories").Text;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Tax categories");
}

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

@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.TaxCategoryListButtons, additionalData = Model })
@await Html.PartialAsync("Table", new DataTablesModel { Name = "tax-categories-grid", UrlRead = new DataUrl("Categories", "AvalaraTax", null), UrlDelete = new DataUrl("CategoryDelete", "AvalaraTax", null), UrlUpdate = new DataUrl("TaxCategoryUpdate", "AvalaraTax", null), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(TaxCategoryModel.Name)) { Title = T("Admin.Configuration.Tax.Categories.Fields.Name").Text, Width = "300", Editable = true, EditType = EditType.String }, new ColumnProperty(nameof(TaxCategoryModel.DisplayOrder)) { Title = T("Admin.Configuration.Tax.Categories.Fields.DisplayOrder").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll, Editable = true, EditType = EditType.Number }, new ColumnProperty(nameof(TaxCategoryModel.Type)) { Title = T("Plugins.Tax.Avalara.Fields.TaxCodeType").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(TaxCategoryModel.Description)) { Title = T("Plugins.Tax.Avalara.Fields.TaxCodeDescription").Text }, new ColumnProperty(nameof(TaxCategoryModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonsInlineEdit() }, new ColumnProperty(nameof(TaxCategoryModel.Id)) { Title = T("Admin.Common.Delete").Text, Width = "100", Render = new RenderButtonRemove(T("Admin.Common.Delete").Text), ClassName = NopColumnClassDefaults.Button } } })
@T("Admin.Common.AddNewRecord")