@extends('layouts.main_frontend') @section('content') {{-- --}}
{{-- {{ dd($sara) }} --}}

{!! strip_tags(html_entity_decode($aqar->details ?? '')) !!}

{{ isset($aqar->aqarReview) ? $aqar->aqarReview->avg('rate') : 0 }}
{{ isset($aqar->aqarComment) ? $aqar->aqarComment->count() : 0 }} @lang('site.comments')
@lang('site.id number')({{ $aqar->id }})
  • 1
    @lang('site.book')
  • 2
    @lang('site.personal')
  • 3
    @lang('site.reservation confirmation')

@lang('site.Choose your reservation date')

@lang('site.Reservation and cancellation policy')

@lang('site.allownumber')
{{ $aqar->personnumber ?? '' }}

@lang('site.Please follow the site policy')

{{--

@lang('site.allownumber')
5

@lang('site.Please follow the site policy')

@lang('site.allownumber')
5

@lang('site.Please follow the site policy')

--}}

@lang('site.details')

{{--
@lang('site.time_from')
{{ $aqar->time_from ?? '' }}
@lang('site.time_to')
{{ $aqar->time_to ?? '' }}

@lang('site.country')
{{ $aqar->country->name ?? '' }}

@lang('site.city')
{{ $aqar->city->name ?? '' }}

@lang('site.person_num')
{{ $aqar->personnumber ?? 0 }}
--}}
@lang('site.reciept_date2')
{{-- {{ $car->reciept_date ?? '' }} --}}
@lang('site.delivery_date2')
{{-- {{ $car->reciept_date ?? '' }} --}}

@lang('site.Receipt hour2')
{{ $aqar->time_from ?? '' }}

@lang('site.delivery hour2')
{{ $aqar->time_to ?? '' }}

@lang('site.day_count')

{{ $booking->day_count ?? 0 }}


@lang('site.person_num')
{{ $aqar->personnumber ?? 0 }}
@lang('site.normalroom')
{{ $aqar->normalroom ?? 0 }}

@lang('site.hallnumber')
{{ $aqar->hallnumber ?? '' }}

@lang('site.swimmingpool')
{{ $aqar->bathroomnumber ?? 0 }}

@lang('site.unitnumber')
{{ $aqar->unitnumber ?? 0 }}

@lang('site.Price summary')

@if ($booking->fixed_price != null) {{-- fixed --}}
@lang('site.price')
{{ $booking->fixed_price ? $booking->fixed_price . ' ' . ($booking->aqar->country->currency_ar ?? '') : '' }}

@lang('site.Reservation deposit')
{{ $booking->fixed_price ? $booking->fixed_price . ' ' . ($booking->aqar->country->currency_ar ?? '') : '' }}
@lang('site.totalprice')
{{ $booking->total_price ? $booking->total_price . ' ' . ($booking->aqar->country->currency_ar ?? '') : '' }} {{-- {{$booking->total_price}} --}}
{{-- fixed end --}} @else {{-- changed --}}
{{-- {{ dd(json_decode($booking->changed_price)->person_num)}} --}} @foreach (json_decode($aqar->changed_price)->person_num as $key =>$item)
@if (json_decode($aqar->changed_price)->person_num[$key] == json_decode($booking->changed_price)->person_num)
@else
@endif @lang('site.personnumber')
{{ json_decode($aqar->changed_price)->person_num[$key]}}
@lang('site.totalprice')
{{-- {{json_decode($aqar->changed_price)->price[$key]}} --}} {{ json_decode($aqar->changed_price)->price[$key] ? json_decode($aqar->changed_price)->price[$key] . ' ' . ($aqar->country->currency_ar ?? '') : '' }}
@endforeach
{{-- changed end --}} @endif
image 1
@lang('site.id number'){{ $aqar->id }}
{{ $aqar->aqarReview->avg('rate') ?? 0 }}
@lang('site.comments') {{ $aqar->aqarComment->count() ?? 0 }}

{{ $aqar->details ?? '' }}

{{ $aqar->country->name ?? '' }} , {{ $aqar->city->name ?? '' }}
{!! strip_tags(html_entity_decode($aqar->description ?? '')) !!}

@lang('site.Information that may interest you')

@lang('site.It may take a few days for the request to be approved')

@lang('site.A reservation deposit is required to confirm the reservation')

@if(!empty(auth()->user())) @else

@lang('site.login') للحجز بتفاصيل محفوظه او @lang('site.register') جديد

@endif

@lang('site.If you have an inquiry')

@lang('site.My bookings')
{{-- @foreach ($bookings as $book) @if (!empty($book->aqar))
@lang('site.id number')({{ $book->aqar->id }})
5
{{ $book->aqar->aqarComment->count() ?? 0 }} @lang('site.comments')

{{ $book->aqar->name ?? '' }}

{{ $book->aqar->country->name ?? '' }},{{ $book->aqar->city->name ?? '' }}
{!! html_entity_decode(substr($book->aqar->description, 0, 125)) !!}
@lang('site.price'): {{ $book->aqar->fixed_price ?? 0 }}
@lang('site.Reservation deposit'):
{{ $book->aqar->fixed_price ?? 0 }}
@lang('site.booking_status'):
{{ $book->bookingStatus->status ?? '' }}
@endif @endforeach --}}
@endsection @section('scripts') @endsection