@extends('layouts.app') @section('urlContent') {!! view('components.breadcrumbs', [ 'b_items' => [ 'Personellerim' => '/department/personels', 'Detay' => '/department/personel/' . $user->id, ], ]) !!} @endsection @section('content')

{{ $user->full_name }}

PERSONELE AİT EVRAKLAR

Sgk İşe Giriş Belgesi

Adli Sicil Kaydı

İkametgah

@php if ($user->userIsgFiles) { $isgUser = $user->userIsgFiles->isgUser; if ($isgUser->hasPermissionTo('upload_isg_company')) { $isgPermission = 'upload_isg_company'; // FİRMA YÜKLESİN } elseif ($isgUser->hasPermissionTo('upload_isg_herself')) { $isgPermission = 'upload_isg_herself'; // KENDİ YÜKLESİN } } @endphp @if ($user->userIsgFiles)

Ek-2 Muayene Formu

@if ($isgPermission == 'upload_isg_company' && $user->userIsgFiles->hr_ek_2_file) @elseif ($isgPermission == 'upload_isg_herself' && $user->userIsgFiles->ek_2_file) @else

Dosya Yüklenmemiş

@endif
@endif @if ($user->userIsgFiles)

İSG Eğitim Sertifikası

@if ($isgPermission == 'upload_isg_company' && $user->userIsgFiles->hr_isg_training_file) @elseif($isgPermission == 'upload_isg_herself' && $user->userIsgFiles->isg_training_file) @else

Dosya Yüklenmemiş

@endif
@endif @if ($user->userIsgFiles)

Hijyen Belgesi

@if ($isgPermission == 'upload_isg_company' && $user->userIsgFiles->hr_hygen_file) @elseif($isgPermission == 'upload_isg_herself' && $user->userIsgFiles->hygen_file) @else

Dosya Yüklenmemiş

@endif
@endif @if ($user->userIsgFiles)

Eğitim Kayılım Formu

@if ($isgPermission == 'upload_isg_company' && $user->userIsgFiles->hr_training_participation_form) @elseif($isgPermission == 'upload_isg_herself' && $user->userIsgFiles->training_participation_form) @else

Dosya Yüklenmemiş

@endif
@endif

PERSONELE AİT RESİM GALERİSİ

@if (count($user->workerGalery) > 0) @foreach ($user->workerGalery as $galery) @endforeach @else

Personele ait galeri bulunamadı

@endif
@include('components.pdfViewer') @include('components.showImage') @if ($errors->any()) @include('components.error-modal-second') @endif @if (session('error')) @include('components.error-modal') @endif @if (session('success')) @include('components.success-modal') @endif @endsection @section('javascript') @endsection