@extends('email.layout') @section('content')

{{ __('Booking Details') }}

@if ($details['type'] == 'admin')

{{ __('User Email:') }} {{ $details['email'] }}

{{ __('User Name:') }} {{ $details['name'] }}

{{ __('User Mobile:') }} {{ $details['mobile'] }}

{{ __('User Gender:') }} {{ $details['gender'] ? config('app.user_gender')[$details['gender']] : '' }}

{{ __('User DOB:') }} {{ $details['dob'] }}

{{ __('User Nationality:') }} {{ $details['nationality'] }}

{{ __('User Profession:') }} {{ $details['profession'] }}

{{ __('User Address:') }} {{ $details['address'] }}

{{ __('Vistior Email:') }} {{ $details['visitor_email'] }}

{{ __('Vistior Mobile:') }} {{ $details['visitor_mobile'] }}

{{ __('Vistior Country:') }} {{ $details['country'] }}

{{ __('Vistior Residency:') }} {{ $details['residency'] }}

{{ __('Number Of Vistiors:') }} {{ $details['num_visitor'] }}

{{ __('Reserve:') }} {{ langConverter($details['reserve']->en_name, $details['reserve']->fr_name) }}

{{ __('Booking Details:') }}

{{ __('Book id') }} {{ $details['book_id'] }}

{{ __('Activity Details:') }}

@foreach ($details['activityDetails'] as $activity)
{{ __('Activity Type:') }} {{ langConverter(getActivityType($activity->type_id)->en_name, getActivityType($activity->type_id)->fr_name) }}
{{ __('Date:') }} {{ $activity->date }}
{{ __('Participents:') }} {{ $activity->participents }}
{{ __('Price:') }} {{ $activity->price }}
{{ __('Discount:') }} {{ $activity->discount }}
@endforeach

{{ __('Lodging Details:') }}

@foreach ($details['lodgingDetails'] as $lodging)
{{ __('Capacity:') }} {{ $lodging->capacity }}
{{ __('Type:') }} {{ $lodging->type }}
{{ __('From:') }} {{ $lodging->from }}
{{ __('To:') }} {{ $lodging->to }}
{{ __('Quantity:') }} {{ $lodging->quantity }}
{{ __('Price:') }} {{ $lodging->price }}
{{ __('Discount:') }} {{ $lodging->discount }}

@endforeach @endif {{ __('Go Home') }}
@endsection