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

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

5
@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')

@lang('site.Booking and cancellation conditions')

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

@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_number')

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

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

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

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

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

@lang('site.Price summary')

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

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

--}}
{{-- --}} @if (json_decode($car->changed_price)->day_num[$key] == json_decode($booking->changed_price)->day_num) @else @endif @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] ? json_decode($car->changed_price)->price[$key] . ' ' . ($car->country->currency_ar ?? '') : '' }}
@endforeach
{{-- changed end --}} @endif
image 1
@lang('site.id number'){{ $car->id }}
{{ $car->CarReview->count() ?? 0 }}
{{ $car->carComment->count() ?? 0 }} @lang('site.comments')

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

{!! 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 }})
5
{{ $book->car->carComment->count() ?? 0 }} @lang('site.comments')

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

{{ $book->car->description ?? '' }}
{{ $book->car->car_numbers }} @lang('site.car_numbers')
@lang('site.year')
@lang('site.price'): {{ $book->car->fixed_price ?? 0 }}
@lang('site.Reservation deposit'):
{{ $book->car->fixed_price ?? 0 }}
@lang('site.booking_status'):
@lang('site.Awaiting approval by the owner')
@endif @endforeach --}}


@endsection @section('scripts') @endsection