Total Row: {{ $list->count() }}
@php $total = 0; @endphp @foreach ($list as $r) @endforeach
ID Date Pop Name User ID Action Amount Remarks
{{ $r->id}} {{date('d-M-Y h:i:sa',strtotime($r->created_at))}} @foreach($pops as $pop) @if($pop->id == $r->sub_reseller_id) {{ $pop->popname}} @endif @endforeach {{$r->client->userid ?? ''}} {{$r->action ?? ''}} @php $total+=$r->amount @endphp {{$r->amount}} {{ $r->remarks}}
Total {{ number_format($total, 2, '.', '') }}
{{-- {{ $list->links() }} --}}