@can('show-service-information')
Service Information
| Pop Name |
{{ $r->popname }} |
Billing Cycle |
{{ $r->billing_cycle }} |
@if (!$r->isStatic)
| User Name |
{{ $r->userid }} |
@else
IP Address
|
{{ $r->ip_address }}
|
@endif
@if (!$r->isStatic)
Password |
{{ $r->password }} |
@endif
| Package Name |
@if ($r->sub_package_name != null && $r->subreseller == 'yes')
{{ $r->sub_package_name }}
@can('show-mother-package')
{{ $r->package_name }}
@endcan
|
@else
{{ $r->package_name }} |
@endif
Expired Date |
{{ $r->expire_date ?? '' }} |
| Enable MAC |
{{ $r->mac ?? '' }} |
Slug |
{{ $r->slug ?? '' }} |
@endcan
@can('show-personal-information')
@if (checkSettings('profilePicture') == 'enable')
@if (checkSettings('store_image_to_s3') == 'enable')
@php
$s3Url = Storage::disk('s3')->url(
'customer_agrement/' . $r->customer_agrement,
);
@endphp

@else
 }})
@endif
@if (checkSettings('store_image_to_s3') == 'enable')
@php
$s3Url = Storage::disk('s3')->url(
'profilePicture/' . $r->profilePicture,
);
@endphp

@else
 }})
@endif
@endif
Personal Information
| Client Name |
{{ $r->clients_name }} |
Date Of Birth |
@if ($r->dob)
{{ date('d-M-Y', strtotime($r->dob)) }}
@endif
|
| Contact No |
{{ $r->contact_no ?? '' }} |
Email |
{{ $r->email ?? '' }} |
| Father Name |
{{ $r->father_name ?? '' }} |
Mother Name |
{{ $r->mother_name ?? '' }} |
| National ID |
{{ $r->national_id ?? '' }} |
Passport No |
{{ $r->passport_no ?? '' }} |
@endcan
@can('show-address-information')
@if (checkSettings('profilePicture') == 'enable')
@if (checkSettings('store_image_to_s3') == 'enable')
@php
$s3Url = Storage::disk('s3')->url('picture/' . $r->picture);
@endphp

@else
 }})
@endif
@if (checkSettings('store_image_to_s3') == 'enable')
@php
$s3Url = Storage::disk('s3')->url(
'client_door/' . $r->client_door,
);
@endphp

@else
 }})
@endif
@endif
Address
| Road No |
{{ $r->road_no ?? '' }} |
Road Name |
{{ $r->road_name ?? '' }} |
| Flat/Level No |
{{ $r->flat_no ?? '' }} |
Building No |
{{ $r->building_no ?? '' }} |
| Building Name |
{{ $r->building_name ?? '' }} |
Block/Sector |
{{ $r->block_sector ?? '' }} |
| Latitude |
{{ $r->client_latitude ?? '' }} |
Longitude |
{{ $r->client_longitude ?? '' }} |
| Area |
{{ $r->area ?? '' }} |
@endcan
@can('show-connection-information')
Connection Info
@if ($r->bill_generate == 'yes')
| Cable type |
{{ $r->cable_type ?? '' }} |
Cable Length(Meter) |
{{ $r->required_cable ?? '' }} |
| Cable ID |
{{ $r->cable_id ?? '' }} |
Cable Type(CAT5/CAT6) |
{{ $r->cat_type ?? '' }} |
| Cable(CAT-5/CAT-6) Length(Meter) |
{{ $r->cat_length ?? '' }} |
ONU MAC/Pon No/Serial No |
{{ $r->onu_serial ?? '' }} |
| OLT No |
{{ $r->olt_pon }} |
OLT Card Slot Number |
{{ $r->olt_no }} |
| PON Module Port No |
{{ $r->pon_port }} |
Box |
{{ $r->box }} |
@endif
| Remote Access : {{ $r->remote_access == 'Yes' ? 'Yes' : 'No' }}
|
Remote Access Username : {{ $r->remote_access_username ?? '' }}
|
Remote Access Password : {{ $r->remote_access_password ?? '' }}
|
Remote Access Port : {{ $r->remote_access_port ?? '' }} |
| Connection Date : |
CD:
{{ date('d-M-Y h:i:sa', strtotime($r->created_at)) }}
@if ($r->joinDate)
JD:
{{ date('d-M-Y', strtotime($r->joinDate)) }}
@endif
|
Created By : |
@php
$user = App\Models\User::where(
'id',
$r->created_by,
)->first();
@endphp
{{ $user->name ?? '' }} -- {{ $user->mobile_number ?? '' }}
|
| Source Name : |
@php
$source = App\Models\ClientSource::where(
'id',
$r->source_name,
)->first();
@endphp
{{ $source->name ?? '' }}
|
@if (auth()->user()->hasRole('Reseller Admin'))
@elseif(auth()->user()->hasRole('Sub Reseller'))
@else
Marketed By |
@if ($r->marketed_by == 0)
No Marketing |
@else
@php
$m = App\Models\ClientReferer::where(
'id',
$r->marketed_by,
)->first();
@endphp
{{ $m->firstname ?? '' }} {{ $m->lastname ?? '' }} |
{{-- {{ $r->clientReferer->firstname ?? '' }} | --}}
@endif
@endif
@if (globalPermission('manage-line-man'))
| Line Man :
{{ $r->line_man_id ? App\Models\Employee::where('id', $r->line_man_id)->first()->name : 'No Line Man' }}
|
|
|
|
@endif
| Remarks |
{{ $r->remarks ?? '' }} |
{{-- @can('new-customer-approve')
@endcan --}}
@php($permissions = userPermissions())
@if (checkSettings('local-user-first-approve') == 'enable')
@if (in_array('local-user-first-approve', $permissions))
@if ($r->first_approval == 'Pending')
@endif
@elseif (in_array('new-customer-approve', $permissions))
@if ($r->client_approval == 'pending')
@endif
@endif
@else
@if (in_array('new-customer-approve', $permissions))
@if ($r->client_approval == 'pending')
@endif
@endif
@endif
|
{{-- @if ($customer_account > 0)
@can('mac-customer_destroy')
@endcan
@endif --}}
|
@endcan