@php $hasEntity = $progress['entity'] !== null; $verification = $progress['verification']; $status = $verification?->status; @endphp
{{-- Icon based on type --}} @if ($type === 'company')
@elseif($type === 'media')
@else
@endif

{{ $progress['title'] }}

{{ $progress['description'] }}

{{-- Status Badge --}} @if ($verification) {{ $status->getLabel() }} @else Belum Mengajukan @endif
{{-- Stepper Progress --}}
{{-- Alert for Revision Notes --}} @if ($progress['needsRevision'] && $progress['latestNotes'])

Catatan Revisi dari Admin

{{ $progress['latestNotes'] }}

Perbaiki Data
@endif {{-- Alert for Rejection --}} @if ($progress['isRejected'] && $progress['latestNotes'])

Pengajuan Ditolak

{{ $progress['latestNotes'] }}

@endif {{-- Success Message for Approved --}} @if ($progress['isApproved'])

Verifikasi Diterima

Data {{ strtolower($progress['title']) }} Anda telah diverifikasi dan disetujui oleh admin.

@endif {{-- Pending Message --}} @if ($progress['isPending'])

Menunggu Verifikasi

Data sedang dalam proses verifikasi oleh admin. Mohon tunggu.

@endif {{-- No Data Message --}} @if (!$hasEntity)

Data Belum Tersedia

Silakan lengkapi data {{ strtolower($progress['title']) }} terlebih dahulu sebelum mengajukan verifikasi.

Lengkapi Data
@endif {{-- Review History Accordion --}} @if ($progress['reviewHistory']->isNotEmpty())
@foreach ($progress['reviewHistory'] as $review)
{{ $review->decision->getLabel() }} oleh {{ $review->reviewer?->name ?? 'Admin' }}
@if ($review->note)

{{ $review->note }}

@endif
{{ $review->created_at->format('d M Y, H:i') }}
@endforeach
@endif
{{-- Footer with Actions --}}
@if ($verification) Terakhir diajukan: {{ $verification->updated_at->format('d M Y, H:i') }} @endif
@if ($hasEntity && !$progress['isPending'] && !$progress['isApproved']) Edit Data @endif @if ($progress['canSubmit']) {{ $submitAction }} @endif