From 32d950e11e5ac5783865fe9659f0532abc55fa8a Mon Sep 17 00:00:00 2001 From: yashita-egov Date: Mon, 9 Dec 2024 17:26:30 +0530 Subject: [PATCH] changed allFacilities to facilities (only project facility) --- .../lib/pages/record_stock/stock_details.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/inventory_management/lib/pages/record_stock/stock_details.dart b/packages/inventory_management/lib/pages/record_stock/stock_details.dart index be040e8e4..64d136fe3 100644 --- a/packages/inventory_management/lib/pages/record_stock/stock_details.dart +++ b/packages/inventory_management/lib/pages/record_stock/stock_details.dart @@ -661,7 +661,7 @@ class StockDetailsPageState extends LocalizedState { await context.router.push( InventoryFacilitySelectionRoute( facilities: - allFacilities)) + facilities)) as FacilityModel?; if (facility == null) return; @@ -717,7 +717,7 @@ class StockDetailsPageState extends LocalizedState { final facility = await context.router.push( InventoryFacilitySelectionRoute( - facilities: allFacilities, + facilities: facilities, ), ) as FacilityModel?;