{{--
--}}
{{-- Total: {{ $list->total() }} --}}
{{-- --}} @php($apiCheck = checkAPI()) @foreach ($list as $r) {{-- {{ dd($r) }} --}} clients_status == 'deactive') class="deactive" @endif> {{-- --}} @endforeach
SLID User name Status Expire Bill Info Package POP Name Contact User Info Date
{{ $loop->iteration }} CID: {{ $r->id }} Log Details {{ $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->rate ?? 0 }} @else {{ $r->packages->package_rate }} @endif @else {{ $r->packages->package_rate }} @endrole
OTC : {{ $r->clientsinfo->otc ?? 0 }}
@if (isset($r->clientsinfo->otc_due)) @if ($r->clientsinfo->otc_due > 0) OTC Due: {{ $r->clientsinfo->otc_due ?? 0 }} @endif @endif @endif

@if ($r->pop->bill_generate == 'yes')

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

@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 ?? '' }}

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

CD: {{ date('d-M-Y h:i:sa', strtotime($r->created_at)) }}
@if ($r->clientsinfo->joinDate) JD: {{ date('d-M-Y', strtotime($r->clientsinfo->joinDate)) }} @endif
@if ($r->deleted_at != null) @else @endif
{{-- {{ $list->links() }} --}}
{{-- {{ $list->links() }} --}}
{{--
--}}