@csrf
{{ __('general.general_information') }}
{{-- Choose Branch --}}
{{-- Serial Number --}}

{{-- Choose Customer --}}
{{ __('general.customer_information') }}

{{ __('validation.attributes.period') }}

{{ __('general.car_information') }}
@if($new_reservation != true)
@endif

{{ __('validation.attributes.insurance') }}

{{ __('general.services') }}
@php $services_ids = collect(); @endphp @foreach ($car->services()->get() as $key => $service) @if (isset($reservation)) @foreach ($reservation->services as $reservation_service) @if ($service->service->id == $reservation_service->service->id) @php $services_ids->push($service->id);@endphp @endif @endforeach @endif @if ($services_ids->contains($service->id))
@else
@endif @endforeach
@if (isset($reservation)) @endif @if ($new_reservation) @endif @if (isset($contract)) @endif @if ($new_contract) @endif
@section('customScript') @parent {{-- ============================================================================================ = Get The Cars Depends On Start Date & End Date.. ============================================================================================ --}} @endsection