Total Row: {{ $otc_payment_logs->count() }}

@foreach ($otc_payment_logs as $p) @endforeach
#id Date C Name username Reseller POP MR ID Entry BY Col By Package Description Amount Diacount
{{ $p->id }} {{ date('d-M-Y h:i:s A', strtotime($p->otc_payment_date)) }} {{ $p->client->clientsinfo->clients_name ?? '' }} {{ $p->client->userid ?? '' }} {{ $p->client->pop->reseller->name ?? '' }} {{ $p->client->pop->popname ?? '' }} {{ $p->billpayment->money_receipt_number }} {{ $p->user->name ?? '' }} {{ $p->employee->name ?? '' }} {{ $p->clients->packages->package_name ?? '' }} {{$p->billpayment->description ?? ""}} {{ $p->otc_payment }} {{ $p->otc_discount }}