@foreach ($list as $r) clients_status == 'deactive') class="deactive" @endif> @endforeach
ID User name Status Expire Bill Info Package POP Name Contact User Info Created Date
@php(printf('CID%04d', $r->id)) Log {{ $r->userid }}
{{ $r->password }} {{--
@if (isset($online) && in_array($r->userid, $online)) Online @else Ofline @endif --}}
BD: {{ date('d-M-Y', strtotime($r->expire_date)) }}
PD: {{ \Carbon\Carbon::parse($r->expire_date)->addDay($r->payment_dadeline)->format('d-M-Y') }}

B Cycle: {{ $r->billing_cycle }}
@if (isset($r->pop->bill_generate) && $r->pop->bill_generate == 'yes') B Amount: @role('Sub Reseller') @if ($r->pop->subreseller == 'yes') {{ $r->subpack->sub_package_rate }} @else {{ $r->packages->package_rate }} @endif @else {{ $r->packages->package_rate }} @endrole
OTC : {{ $r->clientsinfo->otc }}
@if ($r->clientsinfo->otc_due > 0) OTC Due: {{ $r->clientsinfo->otc_due }} @endif @endif

@if($r->customerAccount)

Due: {{ $r->customerAccount->dueAmount }}

@endif
@can('show-sub-package') {{ $r->subpack->name ?? '' }} @endcan @can('show-mother-package') {{ $r->packages->package_name ?? '' }} @endcan {{-- @if ($r->pop->subreseller == 'yes') @role('Sub Reseller') {{ $r->subpack->name }} @endrole @else {{ $r->packages->package_name }} @endif {{-- @else {{ $r->packages->package_name }} --}} {{ $r->pop->popname ?? '' }} {{ $r->clientsinfo->clients_name ?? '' }} {{ $r->clientsinfo->contact_no ?? '' }}

Flat No: {{ $r->clientsinfo->flat_no ?? '' }} , Building Name: {{ $r->clientsinfo->building_name ?? '' }} ,
Road No: {{ $r->clientsinfo->road_no ?? '' }} ,
Block/Sector: {{ $r->clientsinfo->block_sector ?? '' }} , Area : {{ $r->clientsinfo->area ?? '' }} , Latitude : {{ $r->clientsinfo->client_latitude ?? '' }} , Longitude : {{ $r->clientsinfo->client_longitude ?? '' }}

{{ date('d-M-Y h:i:sa', strtotime($r->created_at)) }}
{{-- {{ $list->links() }} --}}