@php($permissions = userPermissions())
{{ $status }} {!! $packages_count !!} |
@endif | ID | User name | Status | Expire | Bill Info | Package | POP | Name | Contact | User Info | Date | @if (request()->path() == 'admin/list/close-list' || request()->path() == 'admin/close-search-list')Close Date | @endifRemarks | @if (request()->path() == 'admin/pending-customer')Created By | @endif @if (auth()->user()->hasRole(['Sub Reseller'])) @endif @php($catTotalLength = 0) @php($totalOtc = 0) @php($totalMrc = 0) @php($apiCheck = checkAPI()) @if (request()->path() == 'admin/list/disable-customer' || request()->path() == 'admin/list/expired-Clients' || request()->path() == 'admin/pending-customer')
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@if (in_array('customer-recharge', $permissions))
@if ($r->pops->bill_generate != 'yes')
@if (auth()->user()->hasRole(['Reseller Admin', 'Admin', 'Accounts Executive', 'Reseller']))
@elseif(auth()->user()->hasRole(['Sub Reseller']))
@endif
expire_date)) }}>
billing_cycle }}>
@else
Not Applicable @endif @endif |
@elseif(request()->path() == 'admin/pending-customer')
@endif |
@if ($r->pop->bill_generate == 'yes')
CID: {{ $r->id }}
@else
@if (in_array('customer-recharge', $permissions))
@if (checkSettings('reseller-client-dynamic-recharge') != 'enable')
@endif
@endif
CID {{ $r->id }}
@endif
@if (!checkAPI() || checkSettings('api_bandwidth_usage') == 'enable')
@endif
@if ($r->deleted_at != null)
@else
@endif
@if (checkSettings('singleInvoice') == 'enable' && $r->pop->bill_generate == 'yes')
@endif
@if ($r->deleted_at != null)
|
{{ $r->isStatic ? $r->ip_address : $r->userid }}
@if (in_array('view-client-password', $permissions))
@if (!$r->isStatic)
@endif @endif @if (checkSettings('customer_code') == 'enable') {{ $r->customer_code ?? '' }} @endif @if (request()->path() == 'admin/clientSearchReport' && checkAPI()) @endif @if (request()->path() == 'admin/list/close-list' || (request()->path() == 'admin/close-search-list' && $r->closed_at != null)) Closed at {{ $r->closed_at }} @endif @if (request()->path() == 'admin/list/disable-customer' || request()->path() == 'admin/disable-customer-search') @foreach ($con_history as $con) @isset($con->client_id) @if ($r->id == $con->client_id) {{ $con->created_at }} @endif @endisset @endforeach @endif @if (request()->path() == 'admin/clients' || request()->path() == 'admin/customer_search') @if (checkAPI()) @if (!$r->isStatic) @if (array_key_exists($r->userid, $online['onlineUsers'])) @if (globalPermission('online-offline-using-api')) Online @else {{ $online['onlineUsers'][$r->userid]['address'] }} @endif @else @if (isset($online['allUsers'][$r->userid]['last-logged-out'])) @if (preg_match('/\b\d{4}\b/', $online['allUsers'][$r->userid]['last-logged-out'], $matches) == 1) @if ($matches[0] != '1970') @if (globalPermission('online-offline-using-api')) Ofline @else {{ parseDate($online['allUsers'][$r->userid]['last-logged-out']) }} @endif @else Never Connected @endif @endif @endif @endif @else @if (array_key_exists($r->ip_address, $online['ipFirewallList'])) {{ $online['ipFirewallList'][$r->ip_address]['action'] }} @endif @endif @if (checkSettings('showClientUpDownInfo') == 'enable') @if (array_key_exists($r->userid, $online['usersBandwidth'])) Download⬇️ {{ number_format($online['usersBandwidth'][$r->userid]['tx-byte'] / 1048576, 2, '.', '') }}MB Upload⬆️ {{ number_format($online['usersBandwidth'][$r->userid]['rx-byte'] / 1048576, 2, '.', '') }}MB @endif @endif @else @if (isset($online) && in_array($r->userid, $online)) Online @else Offline @endif @endif @if ($r->ignoreMKCheck == 1) Ignore MK : ✅ @endif @endif
@if (checkSettings('radius_customer_bandwidth_limit') == 'enable')
D⬇️ @if ($r->down_bandwidth >= 1024) {{ number_format($r->down_bandwidth / 1024, 2, '.', '') }}GB @else {{ $r->down_bandwidth }}MB @endif U⬆️ @if ($r->up_bandwidth >= 1024) {{ number_format($r->up_bandwidth / 1024, 2, '.', '') }}GB @else {{ $r->up_bandwidth }}MB @endif @endif |
@if ($r->clients_status == 'active') Active @elseif($r->clients_status == 'deactive') Deactive @elseif($r->clients_status == 'expired') Expired @elseif($r->clients_status == 'disable') Disabled @endif |
BD: {{ date('d-M-Y', strtotime($r->expire_date)) }} @if ($r->payment_dadeline != 0) PD: {{ \Carbon\Carbon::parse($r->expire_date)->addDay($r->payment_dadeline)->format('d-M-Y') }} @else PD: {{ \Carbon\Carbon::parse($r->expire_date)->addDay($r->payment_dadeline)->format('d-M-Y') }} @endif @can('change-expire-date') @endcan @if (checkSettings('auto_deactive_check') == 'enable') @if (!empty($r->auto_deactive)) AD: {{ date('d-M-Y', strtotime($r->auto_deactive ?? '')) }} @endif @endif |
Bill Date: {{ $r->billing_cycle }}
0) style="background: #fb7185;" @else style="background: #008000;" @endif> @if ($due_amount >= 0) Due: @else Advance: @endif @if ($due_amount >= 0) {{ $due_amount ?? 0 }} @else {{ $due_amount * -1 ?? 0 }} @endif @endif |
@if (in_array('show-sub-package', $permissions) && $r->pops->subreseller == 'yes') {{ $r->subpack->name ?? '' }} @endif @if (in_array('show-mother-package', $permissions)) {{ $r->packages->package_name ?? '' }} @endif @can('package_change_without_cost') Package Change @endcan @if (checkCrmRansferPermission(request()->path())) {{ $r->crm_status }} -> Transfer @if ($r->crm_status == 'Fiber') Item Return @endif @if ($r->crm_status == 'Store') Show Return Item @endif History @endif | @if ($r->pops->experity_check == 'Yes') {{ $r->pops->popname ?? '' }} @else {{ $r->pops->popname ?? '' }} @endif | {{ $r->clientsinfo->clients_name ?? '' }} | {{ $r->clientsinfo->contact_no ?? '' }} |
@if ($r->ip_address)
IP: {{ $r->ip_address ?? '' }},
@endif
@if ($r->clientsinfo->flat_no)
Flat No: {{ $r->clientsinfo->flat_no ?? '' }},
@endif
@if ($r->clientsinfo->building_name)
Building Name: {{ $r->clientsinfo->building_name ?? '' }}, |
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 (request()->path() == 'admin/list/close-list' || request()->path() == 'admin/close-search-list')
{{ $r->deleted_at->format('d-M-Y h:s:a') }} | @endif{{ $r->clientsinfo->remarks ?? '' }} | @if (request()->path() == 'admin/pending-customer'){{ $r->adminUser->name ?? '' }} | @endif
@endif | Total | @if (auth()->user()->hasPermissionTo('source_mrc_hide'))
Fiber: {{ $list->sum('required_cable') }} Meter, CAT: {{ $catTotalLength }} Meter, OTC: {{ $totalOtc }} Taka |
@else
Fiber: {{ $list->sum('required_cable') }} Meter, CAT: {{ $catTotalLength }} Meter, OTC: {{ $totalOtc }} Taka MRC: {{ $totalMrc }} TK |
@endif
@if (checkSettings('radius_customer_bandwidth_limit') == 'enable')
Total D⬇️ {{ number_format($list->sum('down_bandwidth') / 1024, 2, '.', '') }} GB Total U⬆️ {{ number_format($list->sum('up_bandwidth') / 1024, 2, '.', '') }} GB Total ⬆️ {{ number_format(($list->sum('down_bandwidth') + $list->sum('up_bandwidth')) / 1024, 2, '.', '') }} GB @if (isset($package_limit)) Total Limit ⬆️ {{ number_format($package_limit / 1024, 2, '.', '') }} GB @endif |
@endif