@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 @endif @endif | @elseif(request()->path() == 'admin/pending-customer' || request()->path() == 'admin/pending-customer-search')@endif |
@if ($r->pop->bill_generate == 'yes' )
@if (!globalPermission('payment-bill-by-bill'))
@endif
CID: {{ $r->id }}
@else
@if (in_array('customer-recharge', $permissions))
@if (checkSettings('reseller-client-dynamic-recharge') == 'enable' && in_array('dynamic-recharge', $permissions))
@else
@if ($r->client_approval == 'approved')
@endif
@endif
@endif
@if (globalPermission('reseller-client-billing') && in_array('view-client-account-balance', $permissions))
CID: {{ $r->id }}
@else
CID {{ $r->id }}
@endif
@endif
@if (!checkAPI() || checkSettings('api_bandwidth_usage') == 'enable')
Log
@endif
@if ($r->deleted_at != null)
Details
@else
Details
@endif
@if (checkSettings('singleInvoice') == 'enable' && $r->pop->bill_generate == 'yes')
@endif
@if ($r->deleted_at != null)
Details
@if (in_array('delete_customer_edit', $permissions))
Edit
@endif
@if (in_array('mac-customer_destroy', $permissions) && $r->pops->bill_generate != 'yes')
@endif
@if (in_array('can-open', $permissions))
Restore Account
@endif
{{-- @can('add-otc') --}}
@if (in_array('add-otc', $permissions))
@if ($r->pops->bill_generate == 'yes')
@if ($r->clientsinfo->otc < 1)
@endif
@endif
@endif
@if ($r->pop->bill_generate == 'yes')
@php($link = App\Http\Controllers\CompanyInfoController::baseUrl() . $r->slug)
{{ $link }} Copy Payment URL Print QR Code @endif Details {{-- @can('mac-customer_edit') --}} @if (in_array('mac-customer_edit', $permissions)) Edit @endif @if ($r->is_free == 0) @if (request()->path() == 'admin/clients' || request()->path() == 'admin/customer_search' || request()->path() == 'admin/clientSearchReport') @if (in_array('changeBillCycle', $permissions)) @endif @endif @endif @if (in_array('mac-customer_edit', $permissions)) @if ($r->pop->bill_generate == 'yes' && auth()->user()->can('extend-temporary-dedline')) @endif @endif @if (request()->path() == 'admin/clients' || request()->path() == 'admin/customer_search' || request()->path() == 'admin/clientSearchReport') @if (in_array('change_auto_deactive_date', $permissions)) @endif @endif @if ($r->is_free == 0) @if (request()->path() == 'admin/clients' || request()->path() == 'admin/customer_search' || request()->path() == 'admin/clientSearchReport') @if (in_array('changePackage', $permissions)) Package Change @endif @endif @endif @if (checkSettings('schedule_package') == 'enable' && in_array('schedule-package-change', $permissions)) Schedule Package Change @endif @if ($r->clients_status == 'disable') @if (in_array('id-enable', $permissions)) Enable @endif @endif @if ($r->clients_status != 'disable') @if (in_array('id-disable', $permissions)) Disable @endif @endif @if ($r->clients_status != 'deactive') @if (in_array('customer-deactivated', $permissions)) Deactive @endif @endif @if ($r->clients_status == 'deactive') @if (in_array('customer-reactivate', $permissions)) Reactive @endif @endif @if (in_array('can-close', $permissions)) @if (request()->path() != 'admin/pending-customer') @if ($r->deleted_at == null) Close @else @endif @endif @endif @if ($r->pops->bill_generate != 'yes' || $r->client_approval == "pending") @if (in_array('mac-customer_destroy', $permissions)) @endif @endif @if ($r->ignoreMKCheck == 0) @else @endif @if ($r->isStatic && Auth::user()->can('static_manage')) {!! Form::open(['method' => 'DELETE', 'route' => ['remove-buinding-static', $r->id]]) !!} {!! Form::close() !!} @endif @can('never_disconnect') @endcan |
{{ $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 ($r->is_free == 1) Free @endif @if (request()->path() == 'admin/clientSearchReport' && checkAPI()) @endif @if (request()->path() == 'admin/list/close-list' || (request()->path() == 'admin/close-search-list' && $r->deleted_at != null)) Closed at{{ $r->deleted_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'])) @can('router-remote-access') {{-- --}} @endcan @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')) Offline @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['ipArpListsGlobal'])) @if ($online['ipArpListsGlobal'][$r->ip_address]['disabled'] == 'false') ARP-Enabled @else ARP-Disabled @endif @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 @endifVIP
|
@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 ?? '' }} @if (in_array('show-sub-package-rate', $permissions)) ({{ $r->subpack->rate ?? '' }}) @endif @endif @if (in_array('show-mother-package', $permissions)) {{ $r->packages->package_name ?? '' }} @if (in_array('show-motherpackage-rate', $permissions)) ({{ $r->packages->package_rate ?? '' }}) @endif @endif @if (in_array('package_change_without_cost', $permissions)) Package Change @else @if (in_array('package_change_without_cost_expire', $permissions) && $r->clients_status == 'expired') Package Change @endif @endif @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 @if (getLastCRMDate($r->id)) Check Date : {{ \Carbon\Carbon::parse(getLastCRMDate($r->id))->format('d-M-Y') }} @endif @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 ?? '' }}, |
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 @can('billing_start_time') @if ($r->billing_start_date) Bill Start Date: {{ date('d-M-Y', strtotime($r->billing_start_date)) }} @endif @endcan |
@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