booking->details[0]; $session = $events->sessionId; $activity = $events->activityId; $eventDate = date('Y-m-d', strtotime($session->dateTimestamp->from)); $Todaydate = date('Y-m-d'); //"2023-11-16"; //date('Y-m-d'); if ($ticketdata->selfCheckinAllowed) { $IsEventDay = true; $EventClass = ""; } $eventDateStatus = $ticketdata->eventDateStatus; if ($eventDateStatus == 'future') { $eventDateStatus_title = 'Upcoming Event'; $hide_checkout_button_class = 'km_hidden'; } elseif ($eventDateStatus == 'past') { $eventDateStatus_title = 'Completed Event'; $hide_checkout_button_class = 'km_hidden'; } elseif ($eventDateStatus == 'today' && $ticketdata->isSelfCheckIn) { $eventDateStatus_title = 'Ticket Checked-in'; $hide_checkout_button_class = 'km_hidden'; } elseif ($eventDateStatus == 'today') { $eventDateStatus_title = 'Ticket Found'; $hide_checkout_button_class = ''; } else { $eventDateStatus_title = 'Ticket Found'; $hide_checkout_button_class = 'km_hidden'; } $newdates = date('M, d Y', strtotime($eventDate)); $purchase_page = get_permalink(fieldday()->engine->getValue('purchase_page', $fielddaySetting, false)); if ($ticketid && $ticketdata->bookingFound == 1) { //case to cancel or refund //original if($providerKey=='62ffe9b671e2c33fc449f104' && $session->_id=='6526fbd2f50ede01bfc7c77c'){ if ($session->allowSelfRefundOnCancellation || $session->allowSelfTransferOnCancellation) { if ($session->allowSelfRefundOnCancellation && $session->allowSelfTransferOnCancellation) { $no_of_options_offered = 'two options'; } else { $no_of_options_offered = 'one option'; } echo '

Booking Options

Transfer/ Cancel

'; if ($session->allowSelfTransferOnCancellation) { echo ''; } if (($session->allowSelfRefundOnCancellation && $session->allowSelfTransferOnCancellation) || ($session->allowSelfTransferOnCancellation && !$session->allowSelfRefundOnCancellation)) { echo '

Due to inclement weather, we regret to announce that the event scheduled for ' . date('M d', strtotime($events->localDateTimestamp->from)) . ' has been cancelled. For those who have purchased tickets, we offer ' . $no_of_options_offered . ':

'; } else { echo '

We regret to announce that the event scheduled for December ' . date('M d', strtotime($events->localDateTimestamp->from)) . ' has been cancelled. We understand this may be disappointing and apologize for any inconvenience caused. For those who have purchased tickets, please rest assured that we will process refunds in accordance with our policy.

'; } echo '
'; if ($session->allowSelfRefundOnCancellation) { echo ''; } if ($session->allowSelfTransferOnCancellation) { echo ' '; } echo '
'; } else { //case to cacel or refund end //case when ticket is found start for upper section if ($ticketdata->isSignedIn) {?>

showMessage && $ticketdata->showMessage != '') {?>

showMessage; ?>

Click to Self Check-in

If Self Check-in does'nt work, present this QR Code & details at the counter.

' . $eventDateStatus_title . '

'; if ($ticketdata->showMessage && $ticketdata->showMessage != '') { echo '

' . $ticketdata->showMessage . '

'; } echo 'Click to Self Check-in

You can complete this process when you arrive at the event on ' . $newdates . '.

'; } else {?>

showMessage && $ticketdata->showMessage != '') {?>

showMessage; ?>

Click to Self Check-in

If Self Check-in does'nt work, present this QR Code & details at the counter.

Ticket Not Found!!

Oops something went wrong! Our search for entered information could not yield any tickets.

Welcome to

SELF CHECK-IN, I have bought my ticket online, help me find my ticket with either email id or phone number.

OR

NEW TICKET, My ticket has not yet been purchased, Take me to the purchase page to buy the event ticket.