getData($reservationId); $apartment = unserialize($storedData['apartment']); $block = unserialize($storedData['block']); $building = unserialize($storedData['building']); $roomType = unserialize($storedData['roomType']); $decorationType = unserialize($storedData['decorationType']); $flatType = unserialize($storedData['flatType']); $price = round($block->getCalculatedFee() * $apartment->discount_price / 100); ?>