@include('pdf._styles') @php $p = $d['personal'] ?? []; $l = $d['license'] ?? []; $h = $d['history'] ?? []; $c = $d['consent'] ?? []; $fmt = fn ($v) => $v ? \Illuminate\Support\Carbon::parse($v)->format('m/d/Y') : '—'; $yn = fn ($v) => $v ? 'Yes' : 'No'; @endphp
{{ $company?->name }}
{{ $company?->address }}@if($company?->city), {{ $company->city }}, {{ $company->state }} {{ $company->zip }}@endif @if($company?->usdot_no)· USDOT {{ $company->usdot_no }}@endif
DRIVER EMPLOYMENT APPLICATION
49 CFR 391.21 · @if($app->submitted_at)signed {{ $app->submitted_at->format('m/d/Y g:i A') }}@else not sent yet @endif

Applicant

Name{{ trim(($p['first_name'] ?? '').' '.($p['middle_name'] ?? '').' '.($p['last_name'] ?? '')) }}Date of birth{{ $fmt($p['dob'] ?? null) }}
SSN{{ $app->maskedSsn() ?? '—' }}Phone{{ $p['phone'] ?? '—' }}
Address{{ $p['address'] ?? '' }}, {{ $p['city'] ?? '' }}, {{ $p['state'] ?? '' }} {{ $p['zip'] ?? '' }} @if(!empty($p['years_at_address']))· {{ $p['years_at_address'] }} years @endif · {{ $p['email'] ?? '' }}
@if(!empty($d['previous_addresses'])) @foreach($d['previous_addresses'] as $a)@endforeach
Previous addresses (3 years)FromTo
{{ $a['address'] }}, {{ $a['city'] }}, {{ $a['state'] }} {{ $a['zip'] }}{{ $fmt($a['from']) }}{{ $fmt($a['to']) }}
@endif

Licences (last 3 years)

@foreach($d['other_licenses'] ?? [] as $o)@endforeach
StateNumberClassEndorsementsExpires
{{ $l['state'] ?? '' }}{{ $l['number'] ?? '' }}{{ $l['class'] ?? '' }}{{ $l['endorsements'] ?? '' }}{{ $fmt($l['expires_on'] ?? null) }}
{{ $o['state'] }}{{ $o['number'] }}{{ $o['class'] }}{{ $fmt($o['expires_on']) }}
Ever denied a licence, permit or privilege to operate a motor vehicle?{!! $yn($h['license_denied'] ?? false) !!} {{ $h['license_denied_details'] ?? '' }}
Ever had a licence, permit or privilege suspended or revoked?{!! $yn($h['license_suspended'] ?? false) !!} {{ $h['license_suspended_details'] ?? '' }}
Tested positive or refused a DOT pre-employment test in the last 2 years for a job not started?{!! $yn($h['tested_positive_2y'] ?? false) !!} {{ $h['tested_positive_details'] ?? '' }}
Medical certificate expires{{ $fmt($d['medical']['expires_on'] ?? null) }} {{ !empty($d['medical']['examiner']) ? '· '.$d['medical']['examiner'] : '' }}

Driving experience

@forelse($d['experience'] ?? [] as $x)@empty@endforelse
EquipmentFromToApprox. miles
{{ $x['equipment'] }}{{ $fmt($x['from']) }}{{ $fmt($x['to']) }}{{ $x['miles'] }}
None given

Accidents (last 3 years)

@forelse($d['accidents'] ?? [] as $x)@empty@endforelse
DateNatureFatalitiesInjuriesHazmat
{{ $fmt($x['date']) }}{{ $x['nature'] }}{{ $x['fatalities'] }}{{ $x['injuries'] }}{!! $yn($x['hazmat']) !!}
None

Traffic convictions (last 3 years, other than parking)

@forelse($d['violations'] ?? [] as $x)@empty@endforelse
DateLocationChargePenalty
{{ $fmt($x['date']) }}{{ $x['location'] }}{{ $x['charge'] }}{{ $x['penalty'] }}
None

Employment history (3 years; 10 years for CDL drivers)

@forelse($d['employers'] ?? [] as $x) @empty@endforelse
EmployerPositionFrom – ToReason for leavingFMCSRsD&A tests
{{ $x['name'] }}
{{ $x['address'] }} {{ $x['city'] }} {{ $x['state'] }} · {{ $x['phone'] }}
{{ $x['position'] }}{{ $fmt($x['from']) }} – {{ $fmt($x['to']) }}{{ $x['reason_leaving'] }}{!! $yn($x['fmcsr']) !!}{!! $yn($x['drug_testing']) !!}
{{ !empty($h['no_employment_history']) ? 'No employment history (first job).' : 'None given' }}
Certification. {{ !empty($c['certify']) ? '☑' : '☐' }} I certify that this application was completed by me and that all entries and information in it are true and complete to the best of my knowledge.
Authorizations. {{ !empty($c['mvr']) ? '☑' : '☐' }} I authorize the company to obtain my motor vehicle record(s). {{ !empty($c['employers']) ? '☑' : '☐' }} I authorize the investigation of my safety performance history with previous DOT-regulated employers, including drug and alcohol testing records (49 CFR 391.23, 40.25).
@if($signature)
@endifSignature of applicant
Date: {{ $app->signed_at?->format('m/d/Y') ?? '—' }} @if($app->signed_ip)· IP {{ $app->signed_ip }}@endif
@if($cdlFront || $cdlBack || $medical)

Documents

@if($cdlFront)@endif @if($cdlBack)@endif @if($medical)@endif
@endif