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