public ActionResult _PalletOrderDetails(int Id, int?orderProcessId) { //setname and routevalues are required to reuse order detail list. ViewBag.orderid = Id; //ViewBag.OrderNumber = order.OrderNumber; ViewBag.setname = "gvSODetails" + orderProcessId; ViewBag.route = new { Controller = "Pallets", Action = "_PalletOrderDetails", Id = ViewBag.orderid }; var order = OrderService.GetOrderById(Id); ViewBag.Groups = _tenantServices.GetAllTenantConfig(CurrentTenantId)?.FirstOrDefault(u => u.EnableTimberProperties)?.EnableTimberProperties; return(PartialView("_PalletOrderDetails", OrderService.GetPalletOrdersDetails(Id, CurrentTenantId, true))); }
// GET: TenantConfigs public ActionResult Index() { var tenantConfigs = _tenantsServices.GetAllTenantConfig(CurrentTenantId); return(View(tenantConfigs.ToList())); }