@extends('layouts.main_investor') @section('content')
@if(!empty($aqar->images))
@foreach(explode(',',$aqar->images) as $key=>$img)
department
@endforeach
@endif
@lang('site.id number')({{$aqar->id ?? 0}})

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

{{round($aqar->aqarReview->avg('rate')) ?? 0}}
@lang('site.comments') {{$aqar->aqarComment->count()}}
@lang('site.price'):
{{$aqar->fixed_price ?? 0}} درهم
@lang('site.locations'):
{{$aqar->country->name ?? ''}} , {{$aqar->city->name ?? ''}}
@lang('site.floor_numbers')
{{$aqar->unitnumber ?? 0}}
@lang('site.Reservation deposit'):
{{$aqar->fixed_price ?? 0}}
money icon @lang('site.The deposit is paid at the time of booking')
  • {{$aqar->details ?? ''}}

    {!! html_entity_decode($aqar->description) !!}

    @if(!empty($aqar->aqarSection)) @foreach($aqar->aqarSection as $key=>$section)

    @foreach($section->subsection->unique('name') as $subsection)
    {{$subsection->name ?? ''}}
    @endforeach
    @endforeach @endif
  • @if(!empty($aqar->aqarReview))
    ({{ round($aqar->aqarReview->avg('rate')) ?? 0}})
    {{$aqar->aqarReview->count() ?? 0}} @lang('site.reviews')

    @lang('site.excellent')

    @lang('site.Based on reviews from all kinds of travelers')

    @foreach($aqar->aqarReview as $review)
    @if(!empty($review->reviewElement))
    {{$review->reviewElement->name ?? ''}}
    {{round($review->RateTotal($review->reviewElement->id) / $review->CountUser($review->reviewElement->id)) ?? 0}}
    @endif
    @endforeach

    @lang('site.Customer reviews')

    @foreach($aqar->aqarComments as $comment)
    @if(!empty($comment->user->image)) review image @else review image @endif

    {{$comment->user->firstname ?? ''}}
    flag-icon

    {!! html_entity_decode(substr($comment->description, 0, 125)) !!}

    {{$comment->rating ?? 0}}
    {{--

    {{$allaqars->$aqarSection->icon ?? ''}}

    --}}
    @endforeach
    @endif
  • @lang('site.locations')

    {!! html_entity_decode($aqar->description) !!}

    @if($lat && $long)
    @endif
  • {{ html_entity_decode($aqar->policy_place) ?? '' }}

@endsection