@extends('layouts.app') @section('title', 'Verification') @section('content') @php($colors = ['pending' => 'bg-amber-100 text-amber-800', 'approved' => 'bg-emerald-100 text-emerald-800', 'rejected' => 'bg-red-100 text-red-800', 'suspended' => 'bg-red-100 text-red-800'])

Account verification

{{ $user->isApproved() ? '✔ '.$user->badgeLabel() : $user->status }}
@if ($user->status === 'pending')

{{ $missing ? 'Upload every document below. Review starts once the set is complete.' : 'All documents received. Our compliance team is reviewing your account.' }}

@elseif (in_array($user->status, ['rejected', 'suspended']))

Reason: {{ $user->rejection_reason }}

@endif
@foreach ($required as $type => $label)

{{ $label }}

@if (isset($missing[$type]))Required@endif
@foreach ($documents[$type] ?? [] as $doc)
{{ $doc->original_name }} {{ $doc->status }}
@if ($doc->review_note)

{{ $doc->review_note }}

@endif @endforeach @if ($user->status !== 'suspended')
@csrf
@endif
@endforeach

PDF, JPG or PNG up to {{ config('drixem.kyc_max_upload_kb') / 1024 }} MB. Files are stored privately and are visible only to you and Drixem compliance.

@endsection