bookingStatus=='open' || $session->bookingStatus=='waitlist') && $KmUser){ $session_extra = $this->GetSessionVar($session); $skillLevelOption = $session->skillLevelOption; if($skillLevelOption=='grade'){ $gradefrom = $session->gradeRange->from ?? $session->activityId->gradeRange->from; $gradeto = $session->gradeRange->to ?? $session->activityId->gradeRange->to; $icon = "child"; }else{ $icon = "child"; } $additionalCharges = $session->additionalCharges; $additionalDayPrice=$session->additionalDayPrice; $extendedCareDetails = $session->extendedCareDetails; if($this->getvalue('isPriceForAllKids', $extendedCareDetails, false)!='' && $this->getvalue('isPriceForAllKids', $extendedCareDetails, false)!='true'){ $priceforAllkids = ''; } else { $priceforAllkids = '/seat';} $session_type = $this->getvalue('oneDayType', $session, false) ? $this->getvalue('oneDayType', $session, false) : 'weekly'; $SelectedAdditionalcharges = []; $SelectedPaymentOptions = []; $selected_payment_option = null; if($cartItem) { $selected_payment_option = $cartItem['selected_payment_option']; $selectedExtendedCare = $cartItem['extendedCareSelected']; $SelectedAdditionalcharges = $cartItem['additionalChargeDetails']; $bookingoption_selection = $cartItem['bookingoption_selection']; $dropindates = $cartItem['dropindates']; $dropindatestime = $cartItem['dropindatestime']; if(!$SelectedAdditionalcharges) { $SelectedAdditionalcharges = []; } } $agefrom = $session->ageRange->from ?? $session->activityId->ageRange->from; $ageto = $session->ageRange->to ?? $session->activityId->ageRange->to; $sessionPrice = $session->price; $sessionPriceRange = $session->activityId->priceRange; $sessionPriceRangeFrom = $sessionPriceRange->from; $sessionPriceRangeto = isset($sessionPriceRange->to) ? $sessionPriceRange->to : null; $location = $session->siteLocationId->name; $location_state = $session->siteLocationId->state; $location_country = $session->siteLocationId->country; $location_link = "https://www.google.com/maps/place/".$location.",+".$location_state.",+".$location_country; $session_fullday_price = $session->siteLocationId->oneDayDetails->fullDay->price; $currentdate = date("m/d/Y"); $campstart_date = $this->parseDate($session->dateTimestamp->from,'M d, Y'); $campend_date = $this->parseDate($session->dateTimestamp->to,'M d, Y'); $dateto = $this->parseDate($session->dateTimestamp->to,'m/d/Y'); $title = $logintitle = "Who'll be attending?"; $Iscredit = $this->Get_User_Credit(); $discardDates = $session->discardDates; $frequencyPrice = $this->getValue('frequencyPrice', $session, false); $midWeekBookingAllowed = $this->getValue('midWeekBookingAllowed', $session, false); ?>
bookingStatus=='closed'){ echo '