Pengajuan {{ $type === 'seller' ? 'Seller' : 'Driver' }}

Tinjau data dan dokumen sebelum mengaktifkan akses mitra.

@if (session('success'))

{{ session('success') }}

@endif @if ($errors->any())

{{ $errors->first() }}

@endif
@forelse ($applications as $item)
{{ $type === 'seller' ? $item->shop_name : $item->full_name }}
{{ $item->user->name }} · {{ $item->status }} · {{ $item->created_at->format('d/m/Y') }}
@empty

Belum ada pengajuan.

@endforelse {{ $applications->links() }}
@if ($application)

{{ $type === 'seller' ? $application->shop_name : $application->full_name }}

Akun{{ $application->user->name }} · {{ $application->user->email }} @foreach (($type === 'seller' ? ['phone' => 'Telepon', 'shop_address' => 'Alamat toko', 'business_category' => 'Kategori', 'description' => 'Deskripsi'] : ['phone' => 'Telepon', 'address' => 'Alamat', 'identity_number' => 'Nomor identitas', 'license_number' => 'Nomor SIM', 'vehicle_type' => 'Jenis kendaraan', 'vehicle_number' => 'Nomor kendaraan']) as $field => $label) {{ $label }}{{ $application->{$field} ?: '-' }} @endforeach Status{{ $application->status }} Catatan admin{{ $application->admin_note ?: '-' }}

Dokumen pendukung

@forelse ($application->document_paths ?? [] as $index => $path) Dokumen {{ $index + 1 }} @empty

Tidak ada dokumen.

@endforelse @if ($application->status === 'pending')
@csrf
@endif @else

Pilih pengajuan untuk melihat detail.

@endif