{{-- 体験 progress pills (1-5 + N/5 完了), dùng chung SCR-45→50 (Figma 2061:1070→1497). $doneCount: int 0-5 — số bước đã hoàn tất (pill hiện dấu ✓). $activeIndex: int 0-5 — bước đang active (viền xanh); 0 = chưa có bước nào active (SCR-45). --}} @php $doneCount = (int)($doneCount ?? 0); $activeIndex = (int)($activeIndex ?? 0); @endphp
@for($n = 1; $n <= 5; $n++) @if($n <= $doneCount) {{ $n }} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @else {{ $n }} @endif @endfor {{ $activeIndex - 1 < 0 ? 0 : $activeIndex - 1 }}/5 完了