Webiant Logo Webiant Logo
  1. No results found.

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

_CreateOrUpdate.StockQuantityHistory.cshtml

@model ProductModel

@T("Admin.Catalog.Products.StockQuantityHistory.Hint")

@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ProductDetailsStockQuantityHistoryTop, additionalData = Model }) @*hide the entire search block if no elements are displayed*@
@await Html.PartialAsync("Table", new DataTablesModel { Name = "stock-quantity-history-grid", UrlRead = new DataUrl("StockQuantityHistory", "Product", new RouteValueDictionary { [nameof(Model.StockQuantityHistorySearchModel.ProductId)] = Model.StockQuantityHistorySearchModel.ProductId }), SearchButtonId = "search-stock-quantity-history", Length = Model.StockQuantityHistorySearchModel.PageSize, LengthMenu = Model.StockQuantityHistorySearchModel.AvailablePageSizes, Filters = new List { new FilterParameter(nameof(StockQuantityHistorySearchModel.WarehouseId), nameof(StockQuantityHistorySearchModel)) }, ColumnCollection = new List { new ColumnProperty(nameof(StockQuantityHistoryModel.WarehouseName)) { Title = T("Admin.Catalog.Products.StockQuantityHistory.Fields.Warehouse").Text, Width = "150" }, new ColumnProperty(nameof(StockQuantityHistoryModel.AttributeCombination)) { Title = T("Admin.Catalog.Products.StockQuantityHistory.Fields.Combination").Text, Width = "180", Encode = false }, new ColumnProperty(nameof(StockQuantityHistoryModel.QuantityAdjustment)) { Title = T("Admin.Catalog.Products.StockQuantityHistory.Fields.QuantityAdjustment").Text, Width = "150", Render = new RenderCustom("renderStockQuantityHistoryQuantityAdjustment") }, new ColumnProperty(nameof(StockQuantityHistoryModel.StockQuantity)) { Title = T("Admin.Catalog.Products.StockQuantityHistory.Fields.StockQuantity").Text, Width = "130" }, new ColumnProperty(nameof(StockQuantityHistoryModel.Message)) { Title = T("Admin.Catalog.Products.StockQuantityHistory.Fields.Message").Text }, new ColumnProperty(nameof(StockQuantityHistoryModel.CreatedOn)) { Title = T("Admin.Catalog.Products.StockQuantityHistory.Fields.CreatedOn").Text, Width = "170", Render = new RenderDate() } } }) @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ProductDetailsStockQuantityHistoryBottom, additionalData = Model })