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

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

{{ round($car->carReview2()) }}
@lang('site.comments') {{ $car->carComment->count() ?? 0 }}
@lang('site.id number')({{ $car->id }})
@csrf
  • 1
    @lang('site.book')
  • 2
    @lang('site.personal')
  • 3
    @lang('site.reservation confirmation')

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

اختر السعر

سعر الايجار 4 ايام

1000 درهم مغربى

سعر الايجار 5 ايام

1000 درهم مغربى

سعر الايجار 7 ايام

1000 درهم مغربى

اختر مكان التسليم

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

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

@lang('site.Arrival dates')
{{ $car->car_delivery_date ?? '' }}

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

@lang('site.details')

@lang('site.reciept_date')
{{-- {{ $car->reciept_date ?? '' }} --}}
@lang('site.delivery_date')
{{-- {{ $car->reciept_date ?? '' }} --}}

@lang('site.Receipt hour')
{{-- {{$car->carbooking->delivery_hour ?? ''}} --}}

@lang('site.delivery hour')
{{-- {{$car->carbooking->receipt_hour ?? ''}} --}}

@lang('site.day_numbers')

@lang('site.category')
{{ $car->categories->name_ar ?? '' }}

@lang('site.year')
{{ $car->year ?? '' }}

@lang('site.color')
{{--
{{ $car->color ?? '' }}
--}}
{{-- {{$booking->car->color ?? ''}} --}}


@lang('site.car_numbers')
{{ $car->car_numbers ?? '' }}
{{--
--}}

@lang('site.Price summary')

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

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

--}}
{{-- --}} @lang('site.day_numbers')
{{ json_decode($car->changed_price)->day_num[$key] }}
@lang('site.totalprice')
{{ json_decode($car->changed_price)->price[$key] ? json_decode($car->changed_price)->price[$key] . ' ' . ($car->country->currency_ar ?? '') : '' }}
@endforeach
{{-- changed end --}} @endif
{{-- image 1 --}} image 1
@lang('site.id number'){{ $car->id }}
{{ round($car->carReview2()) }}
{{ $car->carComment->count() ?? 0 }} @lang('site.comments')

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

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

@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')
@foreach ($bookings 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')

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

{!! strip_tags(html_entity_decode($book->car->description ?? '')) !!}
{{ $book->car->car_numbers }} @lang('site.car_numbers')
@lang('site.year')
@lang('site.price_day'): {{ $book->fixed_price ? $book->fixed_price . ' ' . ($book->car->country->currency_ar ?? '') : '' }}
@lang('site.Reservation deposit'):
{{ $book->fixed_price ? $book->fixed_price . ' ' . ($book->car->country->currency_ar ?? '') : '' }}
@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 ?? '' }}
{{--
@lang('site.booking_status'):
{{ $book->bookingStatus->status ?? '' }}
--}}
@endif @endforeach


@endsection @section('scripts') @endsection