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

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

{{ round($aqar->aqarReview2()) }}
{{ $aqar->aqarComment->count() }}@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 ?? 0 }}

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

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

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

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

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

@lang('site.details')

{{--
@lang('site.time_from')
{{ $aqar->time_from ?? '' }}
--}}
@lang('site.reciept_date2')
{{-- {{ $car->reciept_date ?? '' }} --}}
{{--
@lang('site.time_to')
{{ $aqar->time_to ?? '' }}
--}}
@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')


@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 ($aqar->fixed_price != null) {{-- fixed --}}
@lang('site.price_day')
{{ $aqar->fixed_price ? $aqar->fixed_price . ' ' . ($aqar->country->currency_ar ?? '') : '' }}

@lang('site.Reservation deposit')
{{ $aqar->fixed_price ? $aqar->fixed_price . ' ' . ($aqar->country->currency_ar ?? '') : '' }}
@lang('site.totalprice')
{{-- fixed end --}} @else {{-- changed --}}
@foreach (json_decode($aqar->changed_price)->person_num as $key => $item)
{{--
@lang('site.price')
{{ $aqar->fixed_price ?? 0 }}

--}}
@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] . ' ' . ($aqar->country->currency_ar ?? '') : '' }}
@endforeach
{{-- changed end --}} @endif
image 1
@lang('site.id number'){{ $aqar->id }}
{{ round($aqar->aqarReview2()) }}
@lang('site.comments') {{ $aqar->aqarComment->count() }}

{!! strip_tags(html_entity_decode($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.special requests')

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

@lang('site.My bookings')
{{-- {{dd($bookings)}} --}} @foreach ($bookings as $book) @if (!empty($book->aqar))
@lang('site.id number')({{ $book->aqar->id }})
{{ round($book->aqar->aqarReview2()) }}
{{ $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_day'): {{ $book->total_price ? $book->total_price . ' ' . ($book->aqar->country->currency_ar ?? '') : '' }}
@lang('site.Reservation deposit'):
{{ $book->fixed_price ? $book->fixed_price . ' ' . ($book->aqar->country->currency_ar ?? '') : '' }}
{{-- Print the booking object for debugging --}} {{-- {{ dd($book->bookingStatus->id )}} --}}
@lang('site.booking_status'): @if ($book->bookingStatus->id == 1) @elseif($book->bookingStatus->id == 2) @elseif($book->bookingStatus->id == 3) @elseif($book->bookingStatus->id == 4) @elseif($book->bookingStatus->id == 5) @else @endif
{{ $book->bookingStatus->status ?? '' }}
@endif @endforeach
@endsection @section('scripts') @endsection