Total Row: {{ $list->count() }}
{{-- --}} @php($totalOtc = 0 ) @foreach ($list as $p) {{-- --}} @endforeach
#id Created At User ID Client Name OTCPaid OTC
{{ $p->id }} {{ date('d-M-Y h:i:s A', strtotime($p->created_at)) }} {{ $p->userid ?? '' }} {{ $p->clientsinfo->clients_name ?? '' }} {{ $p->clientsinfo->otc }}
Total {{ $list->sum('clientsinfo_sum_otc') }}