{{ $user->id }} |
{{ $user->name }} {{ $user->surname }} |
@php
$role = $user->roles->where('pivot.organization_id', $user->current_organization->organization_id)->first();
@endphp
@if($role)
{{ $role->name }}
@endif
|
@if( $user->date_of_birth != null )
{{ date('d-m-Y', strtotime( $user->date_of_birth )) }}
@endif
|
{{ ucfirst($user->sex) }} |
{{ $user->address }} |
{{ $user->city }} |
{{ $user->country }} |
{{ $user->number_private }} |
{{ $user->number_company }} |
{{ $user->salary_start }} |
{{ $user->os }} |
{{ $user->music_genre }} |
{{ $user->email_private }} |
{{ $user->email }} |
@foreach ($user->user_id_pictures as $id_picture)
@endforeach
|
{{ $user->transaction_account }} |
{{ $user->bank }} |
@if( $user->date_of_employment != null )
{{ date('d-m-Y', strtotime( $user->date_of_employment )) }}
@endif
|
{{ $user->job_position }} |
{{ $user->blood_type }} |
{{ $user->blood_donor == 'yes' ? 'Yes' : ($user->blood_donor == 'no' ? 'No' : null) }}
|
{{ $user->employment_type == 'full' ? 'Full Time' : ($user->employment_type == 'part' ? 'Part Time' : null) }} |
@if($user->contract_latest() != null)
{{ ucfirst($user->contract_latest()->type) }}
@endif
|
@if($user->contract_latest() != null)
@if($user->contract_latest()->type == 'definite')
{{ date('d-m-Y', strtotime($user->contract_latest()->valid_to)) }}
@endif
@endif
|
@if( $user->notice_from_employee != null )
{{ date('d-m-Y', strtotime( $user->notice_from_employee )) }}
@endif
|
@if( $user->notice_from_employer != null )
{{ date('d-m-Y', strtotime( $user->notice_from_employer )) }}
@endif
|
|
@endforeach