@extends('eventmie::layouts.app') @section('title') @lang('eventmie-pro::em.booking_details') @endsection @section('content')
{{-- booking details --}}

@lang('eventmie-pro::em.booking_info')

{{-- --}} {{-- CUSTOM --}} {{-- CUSTOM --}} @if (userTimezone($booking['event_start_date'] . ' ' . $booking['event_start_time'], 'Y-m-d H:i:s', 'Y-m-d') <= userTimezone($booking['event_end_date'] . ' ' . $booking['event_end_time'], 'Y-m-d H:i:s', 'Y-m-d')) @else @endif @if ($booking['booking_cancel'] == 0) @elseif($booking['booking_cancel'] == 1) @elseif($booking['booking_cancel'] == 2) @elseif($booking['booking_cancel'] == 3) @endif
@lang('eventmie-pro::em.order_id') {{ $booking['order_number'] }}
@lang('eventmie-pro::em.event_category') {{ $booking['event_category'] }}
@lang('eventmie-pro::em.event') {{ $booking['event_title'] }}
@lang('eventmie-pro::em.repetitive') {{ $booking['event_repetitive'] == 0 ? 'No' : 'Yes' }}
@lang('eventmie-pro::em.ticket') {{ $booking['ticket_title'] }}
@lang('eventmie-pro::em.ticket_price') {{ $booking['ticket_price'] }}
@lang('eventmie-pro::em.total_amount_paid'){{$booking['net_price'].' '.$currency}}{{ $booking['net_price'] . ' ' . (!empty($booking['currency']) ? $booking['currency'] : $currency) }}
@lang('eventmie-pro::em.start_date') {{ userTimezone($booking['event_start_date'] . ' ' . $booking['event_start_time'], 'Y-m-d H:i:s', format_carbon_date(true)) }} {{ showTimezone() }}
@lang('eventmie-pro::em.end_date'){{ userTimezone($booking['event_end_date'] . ' ' . $booking['event_end_time'], 'Y-m-d H:i:s', format_carbon_date(true)) }} {{ showTimezone() }} {{ userTimezone($booking['event_start_date'] . ' ' . $booking['event_start_time'], 'Y-m-d H:i:s', format_carbon_date(true)) }} {{ showTimezone() }}
@lang('eventmie-pro::em.start_time') {{ userTimezone($booking['event_start_date'] . ' ' . $booking['event_start_time'], 'Y-m-d H:i:s', format_carbon_date(false)) }} {{ showTimezone() }}
@lang('eventmie-pro::em.end_time') {{ userTimezone($booking['event_end_date'] . ' ' . $booking['event_end_time'], 'Y-m-d H:i:s', format_carbon_date(false)) }} {{ showTimezone() }}
@lang('eventmie-pro::em.booking_date') {{ userTimezone($booking['created_at'], 'Y-m-d H:i:s', format_carbon_date(true)) }} {{ showTimezone() }}
@lang('eventmie-pro::em.booking_status') {{ $booking['status'] == 0 ? 'Inactive' : 'Active' }}
@lang('eventmie-pro::em.booking_cancellation') @lang('eventmie-pro::em.no_cancellation')@lang('eventmie-pro::em.cancellation_pending')@lang('eventmie-pro::em.cancellation_approved')@lang('eventmie-pro::em.amount_refunded')
@lang('eventmie-pro::em.payment_type') @if ($booking['payment_type'] == 'offline') {{ $booking['payment_type'] }} @else {{ $booking['payment_type'] }} @endif
@lang('eventmie-pro::em.paid') @if ($booking['is_paid']) @lang('eventmie-pro::em.yes') @else @lang('eventmie-pro::em.no') @endif
{{-- customer details --}}

@lang('eventmie-pro::em.customer_info')

@lang('eventmie-pro::em.name') {{ $booking['customer_name'] }}
@lang('eventmie-pro::em.email') {{ $booking['customer_email'] }}
{{-- payment information --}} @if (!empty($payment))

@lang('eventmie-pro::em.payment_info')

@lang('eventmie-pro::em.transaction_id') {{ $payment['txn_id'] }}
@lang('eventmie-pro::em.payment_type') {{ $payment['payment_gateway'] }}
@lang('eventmie-pro::em.payment_status') {{ $payment['payment_status'] }}
@lang('eventmie-pro::em.total_amount_paid') {{ $payment['amount_paid'] }} {{ $payment['currency_code'] }}
@endif {{-- CUSTOM --}} @include('vendor.eventmie-pro.bookings.show_attendees') {{-- CUSTOM --}}
{{-- CUSTOM --}}
@include('vendor.eventmie-pro.bookings.promocode', [$booking])
{{-- CUSTOM --}}
@yield('eventmie-bookings-show')
@endsection