@if($showModal)
Manage Skills - {{ $technician?->full_name }}
@if($technician)
Current Skills Add Skill
@if($technician->skills->count() > 0)
@foreach($technician->skills as $skill)

{{ ucfirst(str_replace('_', ' ', $skill->skill_name)) }}

@if($skill->is_primary_skill) Primary @endif
{{ ucfirst($skill->category) }}
Proficiency:
@for($i = 1; $i <= 5; $i++)
@endfor
{{ $skill->proficiency_level }}/5
@if($skill->certification_body)
Certification: {{ $skill->certification_body }}
@if($skill->certification_expires)
Expires: {{ $skill->certification_expires->format('M d, Y') }} @if($skill->certification_expires->isPast()) (Expired) @elseif($skill->certification_expires->isBefore(now()->addMonths(3))) (Expires Soon) @endif
@endif
@endif @if($skill->notes)
Notes: {{ $skill->notes }}
@endif
@endforeach
@else
No skills recorded
Start by adding the first skill for this technician.
Add First Skill
@endif
@if($editing !== false || $skill_name)
{{ $editing ? 'Edit Skill' : 'Add New Skill' }}
Skill Name
Category @foreach($skillCategories as $category) @endforeach
Proficiency Level @foreach(range(1, 5) as $level) @endforeach
Certification Body
Certification Expiry
Primary Skill
Notes
{{ $editing ? 'Update Skill' : 'Add Skill' }} Cancel
@if(!$editing)
Quick Add Common Skills
@foreach($commonSkills as $category => $skills)

{{ ucfirst($category) }}

@foreach($skills as $skill) + {{ ucfirst(str_replace('_', ' ', $skill)) }} @endforeach
@endforeach
@endif @endif @endif
Close
@endif @if (session()->has('message'))
{{ session('message') }}
@endif