Check all your activities here
@if($tab === 'withdraw')
@forelse($withdrawals as $item)
@empty
@empty
@empty
💸
{{ $item->withdrawMethod->name ?? 'Withdraw' }}
{{ $item->account_number }} • {{ $item->created_at->format('08 Sep 2026, h:i A') }}
{{ ucfirst($item->status) }}
-{{ number_format($item->coins, 0) }} Coins
No withdrawal history found.
@endforelse
@elseif($tab === 'task')
@forelse($taskLogs as $item)
✅
Task Reward
{{ $item->task->title ?? 'Quiz' }} • {{ $item->created_at->format('d M Y, h:i A') }}
Completed
+{{ number_format($item->reward, 0) }} Coins
No task history found.
@endforelse
@elseif($tab === 'earning')
@forelse($earnings as $item)
🪙
{{ ucfirst(str_replace('_', ' ', $item->type)) }}
{{ $item->description }} • {{ $item->created_at->format('d M Y, h:i A') }}
Completed
{{ $item->amount >= 0 ? '+' : '' }}{{ number_format($item->amount, 0) }} Coins
No earning history found.
@endforelse
@endif