{{ strtoupper(substr($aff->user->name ?? 'A', 0, 1)) }}
{{ $aff->user->name ?? 'Unknown' }}
{{ $aff->user->email ?? '' }}
|
{{ $aff->affiliate_code }}
|
{{ number_format($aff->commission_rate, 1) }}%
Per Sale
|
{{ $aff->created_at->format('M j, Y') }}
{{ $aff->created_at->diffForHumans() }}
|
{{ $aff->status === 'approved' ? 'Active' : ucfirst($aff->status) }}
|
@if($aff->status === 'pending')
@endif
{{-- More actions could go here --}}
|
@empty