Total Row: {{ $list->count() }}
{{-- --}} @php $total = 0; @endphp @foreach ($list as $r) @endforeach
ID Date Pop Name Amount After Recharge Balance Remarks Recharge By
{{ $r->id}} {{date('d-M-Y h:i:sa',strtotime($r->created_at))}} @foreach($pops as $pop) @if($pop->id == $r->pop_id) {{ $pop->popname}} @endif @endforeach @php $total += $r->amount @endphp {{$r->amount}} {{ $r->after_recharge_balance}} {{ $r->remarks}} {{ $r->user->name ?? '' }}
Total: {{ number_format($total, 2, '.', '') }}
{{-- {{ $list->links() }} --}}