<div class="modal-body">
    <div class="product-card">
        <div class="row">
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Vehicle ID')}}</b>
                    {{ vehiclePrefix().$vehicle->vehicle_id}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Vehicle Type')}}</b>
                    {{!empty($vehicle->types)?$vehicle->types->type:'-'}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Vehicle Name')}}</b>
                    {{$vehicle->name}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Vehicle Model')}}</b>
                    {{$vehicle->model}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Engine Type')}}</b>
                    {{$vehicle->engine_type}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Engine Number')}}</b>
                    {{!empty($vehicle->engine_no)?$vehicle->engine_no:'-'}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('License Plate')}}</b>
                    {{$vehicle->license_plate}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Registration Expiry Date')}}</b>
                    {{ !empty($vehicle->registration_expiry_date)?dateFormat($vehicle->registration_expiry_date):'-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Daily Rate')}}</b>
                    {{priceFormat($vehicle->daily_rate)}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Year of First Immatriculation')}}</b>
                    {{$vehicle->year_of_ﬁrst_immatriculation!=0 && $vehicle->year_of_ﬁrst_immatriculation!=0000?$vehicle->year_of_ﬁrst_immatriculation:'-'}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Gearbox')}}</b>
                    {{\App\Models\Vehicle::$gearbox[$vehicle->gearbox]}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Fuel Type')}}</b>
                    {{App\Models\Vehicle::$fuelType[$vehicle->fuel_type]}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Number of Seats')}}</b>
                    {{$vehicle->number_of_seats}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Kilometer')}}</b>
                    {{$vehicle->kilometers}}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Options')}}</b>
                    @if(!empty($vehicle->options()))
                    @foreach($vehicle->options() as $option )
                        {{$option->name}} <br>
                    @endforeach
                    @else
                        -
                    @endif
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{__('Document')}}</b>
                    @if(!empty($vehicle) && !empty($vehicle->document))
                        <a href="{{asset(Storage::url('upload/document'.'/'.$vehicle->document))}}"
                            target="_blank">{{$vehicle->document}}</a>
                    @else
                        -
                    @endif
                </p>
            </div>
            <div class="col-12">
                <p class="mb-1 mt-2">
                    <b>{{__('Notes')}}</b>
                    {{!empty($vehicle->notes)?$vehicle->notes:'-'}}
                </p>
            </div>
        </div>
    </div>
</div>



