@if ($user->pas_photo)
@else
{!! generate_avatar($user->name) !!}
@endif
{{ $user->name }}
{{ $user->company }}
Last Active on {{ $user->last_login ? date('d M, Y H:i', strtotime($user->last_login)) : '-' }}
@if (Auth::user()->hasRole(['super_admin', 'contract_user']) || Auth::id() === $user->id)
@endif
@if (Auth::user()->hasRole(['super_admin']))
@endif
|
@lang('app.email')
|
{{ $user->email == null ? '-' : $user->email }}
|
|
@lang('app.user_role')
|
@foreach ($user->roles as $role)
{{ ucwords(str_replace('_', ' ', $role->name)) }}
@endforeach
|
|
@lang('app.nationality')
|
{{ $user->nationality }}
|
|
@lang('app.username')
|
{{ $user->username ?? '-' }}
|
|
@lang('app.address')
|
{{ $user->address ? ucwords($user->address) : '-' }}
|
@if($user->hasRole(["admin_contractor"]))
@endif
@if($user->hasRole(["contract_user"]))
@endif
@lang('user_detail.admin_contractor.contracts.title')
@lang('user_detail.admin_contractor.contracts.subtitle')
| Contract Number | Contract Period | Contract User | Department |
|---|---|---|---|
| {{ $contract->number ?? '-' }} | {{ $contract->contract_period ?? '-' }} | {{ $contract->contract_user_name ?? '-' }} | {{ $contract->contract_user_dept ?? '-' }} |
| No contracts found | |||
@lang('user_detail.contract_user.contracts.title')
@lang('user_detail.contract_user.contracts.subtitle')
| Contract Number | Contract Name | Contract Period | Assigned Company |
|---|---|---|---|
| {{ $contract->number ?? '-' }} | {{ $contract->name ?? '-' }} | {{ $contract->contract_period ?? '-' }} | {{ $contract->admin_contractor_company ?? "-"}} |
| No contracts found | |||