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?;