@extends('layouts.main_frontend') @section('content')
  • @foreach ($aqarbooking as $booking) @if (!empty($booking->aqar))
    @lang('site.id number')({{ $booking->aqar->id }})
    {{ round($booking->aqar->aqarReview2()) }}
    {{ $booking->aqar->aqarComment->count() }} @lang('site.comments')

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

    {{ $booking->aqar->country->name ?? '' }}, {{ $booking->aqar->city->name ?? '' }}
    {!! strip_tags(html_entity_decode($booking->aqar->details ?? '')) !!}
    @lang('site.totalprice'): {{ $booking->total_price ? $booking->total_price . ' ' . ($booking->aqar->country->currency_ar ?? '') : '' }}
    @if ($booking->aqar->fixed_price != null)
    @lang('site.Reservation deposit'):
    {{ $booking->aqar->fixed_price ? $booking->aqar->fixed_price . ' ' . ($booking->aqar->country->currency_ar ?? '') : '' }}
    @else @endif {{--
    --}}
    @lang('site.payment_status') : @if ($booking->bookingStatus->id == 1) @elseif($booking->booking_status_id == 2) @elseif($booking->booking_status_id == 3) @elseif($booking->booking_status_id == 5) @else @endif
    {{ $booking->bookingStatus->status ?? '' }}
    @endif @endforeach
    @unless (count($aqarbooking))
    @lang('site.No Booking')
    empty icon
    @endunless
  • @foreach ($carBooking as $book) {{-- @foreach ($carBooking as $book) --}} @if (!empty($book->car))
    image 1
    @lang('site.id number')({{ $book->car->id }})
    {{ round($book->car->carReview2()) }}
    {{ $book->car->carComment->count() ?? 0 }} @lang('site.comments')

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

    {!! strip_tags(html_entity_decode($book->car->description ?? '')) !!}
    {{ $book->car->car_numbers ?? '' }}
    {{ $book->car->year ?? '' }}
    @lang('site.totalprice'): {{ $book->total_price ? $book->total_price . ' ' . ($book->car->country->currency_ar ?? '') : '' }}
    @if ($book->car->fixed_price != null)
    @lang('site.Reservation deposit'):
    {{ $book->car->fixed_price ? $book->car->fixed_price . ' ' . ($book->car->country->currency_ar ?? '') : '' }}
    @else @endif
    @lang('site.payment_status'): @if ($book->bookingStatus->id == 1) @elseif($book->booking_status_id == 2) @elseif($book->booking_status_id == 3) @elseif($book->booking_status_id == 5) @else @endif
    {{ $book->bookingStatus->status ?? '' }}
    @endif @endforeach
    @unless (count($carBooking)) {{-- @unless (count($carBooking)) --}}
    @lang('site.No Booking')
    empty icon
    @endunless @if ($carBooking->hasPages())
    @endif
@endsection @section('scripts') @endsection