@extends('layouts.app') @section('title', __('Rank progress')) @section('content')

{{ __('Your next milestone') }}

{{ __('Rank progress') }}

{{ __('See each qualification and what remains before your next rank.') }}

{{ __('Overall progress') }}

{{ number_format($progress, 0) }}%

{{ __('Current rank') }}

{{ $currentRank?->badge ? $currentRank->badge.' ' : '' }}{{ $currentRank?->name ?? __('Starter') }}

{{ __('Next rank') }}

{{ $nextRank?->badge ? $nextRank->badge.' ' : '' }}{{ $nextRank?->name ?? __('Top rank') }}

{{ __('Next rank requirements') }}

{{ __('Progress is limited by the qualification with the lowest completion.') }}

{{ __('View rank guide') }} →
@if($nextRank)
@foreach($requirements as $requirement)

{{ $requirement['label'] }}

{{ number_format($requirement['progress'], 0) }}%

@if($requirement['currency'])৳@endif{{ number_format($requirement['current'], $requirement['decimals']) }} / @if($requirement['currency'])৳@endif{{ number_format($requirement['required'], $requirement['decimals']) }}

@endforeach
@else

{{ __('You have reached the highest rank currently configured.') }}

{{ __('Your progress will update if an administrator adds another rank.') }}

@endif
@endsection