Current Rank
@if($rankProgress['current_rank'])
{{ $rankProgress['current_rank']->title }}
{{ $contact->currentRankStyle?->title }}
@else
No Rank Assigned
@endif
Rank Achieved Date
@if($rankProgress['rank_achieved_date'])
{{ $rankProgress['rank_achieved_date']->format('d M Y') }}
@else
Not Assigned
@endif
{{ $contact->currentRankStyle?->title ?? '-' }}
Next Rank
@if($rankProgress['next_rank'])
{{ $rankProgress['next_rank']->title }}
@else
@if($rankProgress['current_rank'])
Highest Rank Achieved
@else
No Rank Available
@endif
@endif
Overall Progress
@if($rankProgress['current_rank'])
{{ $rankProgress['overall_progress'] }}%
@if($rankProgress['next_rank'])
@if($rankProgress['estimated_eligibility_date'])
Estimated :
{{ $rankProgress['estimated_eligibility_date']->format('d M Y') }}
@else
Pending
@endif
@else
Completed
@endif
@else
0%
Not Started
@endif
@if($rankProgress['current_rank']) @foreach([['Days',$rankProgress['days_progress'],$rankProgress['completed_days'],$rankProgress['required_days'],$rankProgress['remaining_days']],['Classes',$rankProgress['classes_progress'],$rankProgress['completed_classes'],$rankProgress['required_classes'],$rankProgress['remaining_classes']],['Skills',$rankProgress['skills_progress'],$rankProgress['completed_skills'],$rankProgress['required_skills'],$rankProgress['remaining_skills']],['Testing',$rankProgress['testing_progress'],$rankProgress['testing_satisfied']
? 1 : 0,1,$rankProgress['testing_satisfied'] ? 0 : 1]] as $metric)
{{ $metric[0] }}{{ $metric[1] }}%
{{ $metric[2] }} / {{ $metric[3] }} @if($metric[4] > 0) · {{ $metric[4] }} remaining @else · Complete @endif
@endforeach
@else
@foreach([
'Days',
'Classes',
'Skills',
'Testing'
] as $title)
{{ $title }}
0%
Not Started
@endforeach
@endif
Eligibility Summary
@if($rankEligibility['eligible'])
Eligible for Promotion
@else
{{ count($rankEligibility['reasons']) }}
{{ \Illuminate\Support\Str::plural('Requirement', count($rankEligibility['reasons'])) }}
Remaining
@endif
@unless($rankEligibility['eligible'])
@foreach($rankEligibility['reasons'] as $reason)
{{ $reason['label'] }}
@endforeach
@endunless