Kelola pendaftaran mitra dan permintaan pencairan komisi.
| Affiliator / Referral Code | NIK | Kontak & Alamat | Rekening Bank | @if($tab === 'request')Status | @endif @if($tab === 'account')Saldo | Total Komisi | Total Penarikan | @endifKomisi | Aksi |
|---|---|---|---|---|---|---|---|---|---|
|
{{ $profile->user->name }}
@if($profile->referral_code)
{{ $profile->referral_code }}
@else
Belum dibuat
@endif
|
{{ $profile->nik }}
|
{{ $profile->bank_name }}
{{ $profile->bank_account_number }} a/n {{ $profile->bank_account_name }}
|
@if($tab === 'request')
{{ $profile->status === 'inactive' ? 'Nonaktif' : ucfirst($profile->status) }}
@if($profile->status_note)
"{{ $profile->status_note }}"
@endif
|
@endif
@if($tab === 'account')
Rp {{ number_format($profile->balance, 0, ',', '.') }} | Rp {{ number_format($profile->total_earned ?? 0, 0, ',', '.') }} | Rp {{ number_format($profile->total_withdrawn ?? 0, 0, ',', '.') }} | @endif
@if(auth()->user()->role === 'admin')
@if($editingAffiliatorId === $profile->id)
{{ $profile->commission_rate }}%
@endif
@else
{{ $profile->commission_rate }}%
@endif
|
@if($tab === 'request')
@endif
@if(auth()->user()->role === 'admin')
@if($profile->status === 'pending')
{{ $profile->status === 'inactive' ? 'Nonaktif' : 'Ditolak' }}
@else
@endif
@endif
|
|
| Tidak ada data mitra ditemukan. | |||||||||
Showing {{ $profiles->firstItem() ?? 0 }}-{{ $profiles->lastItem() ?? 0 }} of {{ $profiles->total() }}
|
Affiliator
@if($sortField === 'name')
@endif
|
Jumlah Payout
@if($sortField === 'amount')
@endif
|
Rekening Tujuan |
Tanggal Pengajuan
@if($sortField === 'created_at')
@endif
|
Aksi |
|---|---|---|---|---|
|
{{ $payout->affiliator->name }}
{{ $payout->affiliator->email }}
|
Rp {{ number_format($payout->amount, 0, ',', '.') }} |
{{ $payout->affiliator->affiliateProfile->bank_name ?? '-' }}
{{ $payout->affiliator->affiliateProfile->bank_account_number ?? '-' }}
|
{{ $payout->created_at->format('d/m/Y H:i') }} |
@if(auth()->user()->role === 'admin')
@if($payout->status === 'pending')
@elseif($payout->status === 'processed')
Kirim Konfirmasi
SUKSES
@elseif($payout->status === 'rejected')
Kirim Konfirmasi
DITOLAK
@endif
@else
Read Only
@endif
|
| Tidak ada permintaan payout pending. | ||||
Showing {{ $payouts->firstItem() ?? 0 }}-{{ $payouts->lastItem() ?? 0 }} of {{ $payouts->total() }}
Berikan alasan mengapa akun ini dinonaktifkan. Alasan ini akan terlihat oleh affiliator.
Lakukan transfer dana ke rekening mitra berikut.
Affiliator
{{ $activePayout->affiliator->name }}
Total Ditransfer
Rp {{ number_format($activePayout->amount - $activePayout->admin_fee, 0, ',', '.') }}
Rekening Tujuan
{{ $activePayout->affiliator->affiliateProfile->bank_name ?? 'N/A' }} - {{ $activePayout->affiliator->affiliateProfile->bank_account_number ?? '-' }}
a.n {{ $activePayout->affiliator->affiliateProfile->bank_account_name ?? '-' }}