request->get('warehouse'); $warehouse = \app\models\entity\Warehouse::findOne($warehouseId); $stacks = $warehouse->getStacks(); foreach ($stacks as $stack): ?>