@extends("web.layouts.master") @section("content")

Location

{{ $booking->location->name }}

{{ $booking->location->address }}

Order Detail

Ticket

{{ $booking->product->name }}

Date of Visit

{{ Carbon::parse($booking->booking_date)->format("d - M - Y") }}

Time of Visit

{{ $booking->productVariant->name }}

{{ $startTimeAndEndTime }}

@foreach ($booking->bookingDetails as $bookingDetail)
@if ($bookingDetail->product_type == ProductTypeEnum::getString(ProductTypeEnum::TICKET))

{{ $bookingDetail->quantity . ' Ticket' }}

@elseif ($bookingDetail->product_type == ProductTypeEnum::getString(ProductTypeEnum::MEMBERSHIP))

Membership

@elseif ($bookingDetail->product_type == ProductTypeEnum::getString(ProductTypeEnum::ADD_ON)) @if ($bookingDetail->product_name == "Adult")

{{ $bookingDetail->quantity . ' ' . $bookingDetail->product_name }}

@else

{{ '( ' . $bookingDetail->quantity . 'x ride ) ' . $bookingDetail->product_name }}

@endif @endif

{{ GeneralHelper::transformAmount($bookingDetail->unit_price * $bookingDetail->quantity) }}


@endforeach

Total

{{ GeneralHelper::transformAmount($booking->transaction->total - $booking->transaction->unique_code) }}

Parents Information

Title

{{ ucwords($booking->bookingParentInformation->title) }}

Full Name

{{ ucwords($booking->bookingParentInformation->name) }}

Email

{{ $booking->bookingParentInformation->email }}

Phone Number

{{ $booking->bookingParentInformation->phone_number }}

Kid Information

@foreach ($booking->bookingParentInformation->bookingKidInformations as $kidInformation)

Full Name

{{ $kidInformation->name }}

Age

{{ $kidInformation->age }} year

@endforeach
@include("web.components.modal-with-loading-icon", [ "modalIndex" => 0 ]) @include("web.components.cancelable-notification-modal", [ "modalIndex" => 1 ]) @include("web.components.notification-modal", [ "modalIndex" => 2 ]) @endsection @push("stackJs") @endpush