<div class="modal-body">
    <div class="product-card">
        <div class="row">
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('ID') }}</b>
                    {{ !empty($driver) ? driverPrefix() . $driver->driver_id : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('First Name') }}</b>
                    {{ $user->first_name }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Last Name') }}</b>
                    {{ $user->last_name }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Email') }}</b>
                    {{ $user->email }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Phone Number') }}</b>
                    {{ !empty($user->phone_number) ? $user->phone_number : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Gender') }}</b>
                    {{ !empty($driver) ? $driver->gender : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Age') }}</b>
                    {{ !empty($driver) && $driver->age != 0 ? $driver->age : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Address') }}</b>
                    {{ !empty($driver) && !empty($driver->address) ? $driver->address : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Birth Date') }}</b>
                    {{ !empty($driver) && !empty($driver->birth_date) ? dateFormat($driver->birth_date) : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('License Number') }}</b>
                    {{ !empty($driver) && !empty($driver->license_number) ? $driver->license_number : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Issue Date') }}</b>
                    {{ !empty($driver) && !empty($driver->issue_date) ? dateFormat($driver->issue_date) : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Expiration Date') }}</b>
                    {{ !empty($driver) && !empty($driver->expiration_date) ? dateFormat($driver->expiration_date) : '-' }}

                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Document') }}</b>
                    @if (!empty($driver) && !empty($driver->document))
                        <a href="{{ asset(Storage::url('upload/document' . '/' . $driver->document)) }}"
                            target="_blank">{{ $driver->document }}</a>
                    @else
                        -
                    @endif

                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('License') }}</b>
                    @if (!empty($driver) && !empty($driver->license))
                        <a href="{{ asset(Storage::url('upload/license' . '/' . $driver->license)) }}" target="_blank">
                            {{ !empty($driver) ? $driver->license : '-' }}</a>
                    @else
                        -
                    @endif

                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('Reference') }}</b>
                    {{ !empty($driver) && !empty($driver->reference) ? $driver->reference : '-' }}
                </p>
            </div>
            <div class="col-6">
                <p class="mb-1 mt-2">
                    <b>{{ __('notes') }}</b>
                    {{ !empty($driver) && !empty($driver->notes) ? $driver->notes : '-' }}
                </p>
            </div>
        </div>
    </div>
</div>
