@extends('admin.layouts.contentLayoutMaster') @section('title', $title) @section('content')
{{--
--}} {{--

Booking Code

--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
{{ $booking->booking_code }}
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}

Order ID

{{ $booking->transaction->order_id }}

Location

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

Order Detail

{{ $booking->product->name }}
{{ Carbon::parse($booking->booking_date)->format("d - M - Y") }}
{{ $startTimeAndEndTime }}
@foreach ($booking->bookingDetails as $key => $bookingDetail) @endforeach
Product Name Price Quantity Sub Total
{{ $bookingDetail->product_name }} {{ GeneralHelper::transformAmount($bookingDetail->unit_price) }} {{ $bookingDetail->quantity }} {{ GeneralHelper::transformAmount($bookingDetail->sub_total) }}

Sub Total:

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

@if ($booking->transaction->payment_method == PaymentMethodEnum::getString(PaymentMethodEnum::BANK_TRANSFER))

Unique Code:

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

@endif

Total:

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


Parent Information

{{ ucwords($booking->bookingParentInformation->title) }}
{{ $booking->bookingParentInformation->name }}
{{ $booking->bookingParentInformation->email }}
{{ $booking->bookingParentInformation->phone_number }}

Kids Information

@foreach ($booking->bookingParentInformation->bookingKidInformations as $bookingKidInformation)
{{ $bookingKidInformation->name }}
{{ $bookingKidInformation->age }}
@endforeach
@endsection @section('page-script') @include('admin.menu.booking.components.support-js.crud.update-submit-js') @endsection