@extends('layouts.main_frontend') @section('content')

@lang('site.details')

image 1
@lang('site.id number')({{ $booking->car->id }})
{{ round($booking->car->carReview2()) }}
{{ $booking->car->carComment->count() ?? 0 }} @lang('site.comments')

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

{!! strip_tags(html_entity_decode($booking->car->description ?? '')) !!}
{{ $booking->car->car_numbers ?? 0 }}
{{ $booking->car->year ?? '' }}

@lang('site.Information that may interest you')

@lang('site.basic information')

@lang('site.name1'):
{{ $booking->car->user->firstname ?? '' }} {{ $booking->car->user->lastname ?? '' }}
{{-- {{dd($booking->booking_status_id)}} --}} @if ($booking->booking_status_id != 4) @endif

@lang('site.Information that may interest yous')

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

@lang('site.conditionBooking')

@if (!empty($booking->car->user->InvestCoditions[0]['conditions']))
{{ $booking->car->user->InvestCoditions[0]['conditions'] }}
@else
@lang('site.conditionBookingss')
@endif
{{--
{{ $booking->car->user->InvestCoditions[0]['conditions'] }}
--}}
@lang('site.reciept_date')
{{--

22

--}} {{--
مارس
--}}
{{ $booking->reciept_date ?? '' }}
{{-- {{ $car->reciept_date ?? '' }} --}}
@lang('site.delivery_date')
{{ $booking->delivery_date ?? '' }}

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

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

@lang('site.day_count')
{{ $booking->day_count ?? 0 }}
{{--
--}} {{--
@lang('site.personnumber')
{{$booking->person_num ?? 0}}
--}}
@lang('site.category')
{{ $booking->car->categories->name ?? '' }}

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

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


@lang('site.user')
{{ $booking->user->firstname ?? '' }}

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

@lang('site.car_numbers')
{{ $booking->car->car_numbers ?? 0 }}
@if ($booking->booking_status_id == 1)
@else
Fatal error: Uncaught Error: Class "App\Models\BookingStatus" not found in /home/saeeh/public_html/resources/views/frontend/bookingdetail.blade.php:381 Stack trace: #0 {main} thrown in /home/saeeh/public_html/resources/views/frontend/bookingdetail.blade.php on line 381