@extends('layout.layout') @php $title = 'Verifikasi Pendaftaran'; $subTitle = 'Detail Pendaftaran Baru'; $wargaBaseUrl = rtrim(config('app.warga_url', 'http://127.0.0.1:8000'), '/'); @endphp @section('content')
{{-- KOLOM KIRI - INFO PENDAFTAR --}}
{{ $user->name }}
{{ $user->email }}
Data Pendaftaran
  • Full Name : {{ $user->name }}
  • Email : {{ $user->email }}
  • Phone : {{ $user->profile->phone_number ?? '-' }}
  • Address : {{ $user->profile->address ?? '-' }}
  • KTP : @if($user->profile->ktp) Lihat KTP @else - @endif
  • Selfie : @if($user->profile->foto) Lihat Foto @else - @endif
  • Lokasi GPS : @if($user->profile->latitude && $user->profile->longitude) Buka Maps @else - @endif
  • Status : {{ ucfirst($user->status) }}
  • Joined Date : {{ $user->created_at->translatedFormat('d M Y, H:i') }}
{{-- KOLOM KANAN - DOKUMEN & AKSI --}}
Dokumen Pendaftaran
{{-- KTP & Selfie --}}
Foto KTP
@if($user->profile->ktp) @php $ktpUrl = $wargaBaseUrl . '/storage/' . $user->profile->ktp; @endphp KTP @else

Tidak tersedia

@endif
Foto Selfie
@if($user->profile->foto) @php $fotoUrl = $wargaBaseUrl . '/storage/' . $user->profile->foto; @endphp Selfie @else

Tidak tersedia

@endif
{{-- Lokasi GPS --}} @if($user->profile->latitude && $user->profile->longitude)
Lokasi Pendaftar

Koordinat: {{ $user->profile->latitude }}, {{ $user->profile->longitude }}

Buka di Google Maps
@endif {{-- Tombol Aksi --}}
Kembali
@csrf
@csrf
@endsection