role == 'Client') ? 'active show' : '' }}">
Information
Username :
{{$user->username}}
Date of birth :
{{$user->date_of_birth}}
Gender :
{{$user->gender}}
Address :
{{$user->address}}
Phone Number :
{{$user->phone_number}}
Emergency Contact :
{{$user->emergency_contact}}
@if($user->role == "Staff")
Employee Id :
{{$user->employee_id}}
@endif
@if($user->role == "Executive")
Business Number :
{{$user->business_number}}
@endif
@if($user->role == "Client")
Staff :
@if($user->relateStaff()->first())
{{$user->relateStaff()->first()->name}}
@endif
Identification Number :
{{$user->ddd_id}}
View notes in App :
{{$user->is_view_notes ? 'Yes' : 'No'}}
@endif
{{--
Login From :
{{$user->login_from}}
--}}
Status :
{!! ($user->status == 1)? 'Active': 'Inactive' !!}
@if($user->role != "SuperAdmin" && $user->role != 'Client')
@if($user->role == "Executive" && (checkPermission('addUserCategory', Auth::user()->role) || Auth::user()->role == 'SuperAdmin'))
@endif
@if($user->role == "Staff")
Assigned Clients
| Sr |
Name |
{{--Username | --}}
Email |
Action |
@foreach($user->staffClients as $client)
| {{$loop->iteration}} |
{{$client->name}} |
{{--{{$client->username}} | --}}
{{$client->email}} |
|
@endforeach
@endif
Task History
| Id |
Sr |
Sheet |
Client |
Created At |
Action |
@endif