@extends('backend.layout') @section('content')
@if (!is_null($customer->photo)) @else @endif
{{ __('Customer Information') }}
{{ __('Name') . ' :' }}
{{ $customer->fname }} {{ $customer->lname }}
{{ __('Email') . ' :' }}
{{ $customer->email }}
{{ __('Phone') . ' :' }}
{{ $customer->phone }}
{{ __('Country') . ' :' }}
{{ $customer->country }}
{{ __('City') . ' :' }}
{{ $customer->city }}
{{ __('State') . ' :' }}
{{ $customer->state }}
{{ __('Zip Code') . ' :' }}
{{ $customer->zip_code }}
{{ __('Gender') . ' :' }}
{{ $customer->gender }}
{{ __('Address') . ' :' }}
{{ $customer->address }}
{{ __('Event Bookings') }}
@if (count($bookings) == 0)

{{ __('NO EVENT BOOKING FOUND') . '!' }}

@else
@foreach ($bookings as $booking) @php $eventInfo = \App\Models\Event\EventContent::where('language_id', $defaultLang->id)->first(); $title = $eventInfo->title; $slug = $eventInfo->slug; @endphp @php $customer = $booking->customerInfo()->first(); @endphp @includeIf('backend.event.booking.show-attachment') @endforeach
{{ __('Booking ID') }} {{ __('Event') }} {{ __('Username') }} {{ __('Paid via') }} {{ __('Payment Status') }} {{ __('Attachment') }} {{ __('Actions') }}
{{ '#' . $booking->booking_id }} {{ strlen($title) > 35 ? mb_substr($title, 0, 35, 'utf-8') . '...' : $title }} {{ $customer->fname }} {{ $customer->lname }} {{ !is_null($booking->paymentMethod) ? $booking->paymentMethod : '-' }} @if ($booking->gatewayType == 'online')

{{ __('Completed') }}

@elseif ($booking->gatewayType == 'offline')
@csrf
@else - @endif
@if (!is_null($booking->attachmentFile)) {{ __('Show') }} @else - @endif
@endif
@endsection