@extends('layouts.app') @section('title', 'Profilim') @section('content')
| Ad Soyad: | {{ $employee->user->name }} | 
| Email: | {{ $employee->user->email }} | 
| Kullanıcı Adı: | {{ $employee->user->username }} | 
| Personel Kodu: | {{ $employee->employee_code }} | 
| Departman: | @if($employee->department) {{ $employee->department->name }} @else - @endif | 
| Pozisyon: | {{ $employee->position }} | 
| İşe Başlama: | {{ $employee->hire_date ? $employee->hire_date->format('d.m.Y') : '-' }} | 
| Durum: | @switch($employee->status) @case('active') Aktif @break @case('inactive') Pasif @break @case('on_leave') İzinli @break @default Bilinmiyor @endswitch | 
| Telefon: | {{ $employee->phone ?: '-' }} | 
| Adres: | {{ $employee->address ?: '-' }} | 
| Acil Durum Kişisi: | {{ $employee->emergency_contact ?: '-' }} | 
| Acil Durum Telefonu: | {{ $employee->emergency_phone ?: '-' }} | 
| İzin Türü | Başlangıç | Durum | Tarih | 
|---|---|---|---|
| {{ $leave->leaveType->name }} | {{ $leave->start_date->format('d.m.Y') }} | @switch($leave->status) @case('pending') Bekliyor @break @case('approved') Onaylandı @break @case('rejected') Reddedildi @break @default {{ $leave->status }} @endswitch | {{ $leave->created_at->format('d.m.Y') }} | 
Henüz izin başvurusu bulunmuyor.
@endif| Tarih | Giriş | Çıkış | Durum | 
|---|---|---|---|
| {{ $attendance->date->format('d.m.Y') }} | {{ $attendance->check_in ? $attendance->check_in->format('H:i') : '-' }} | {{ $attendance->check_out ? $attendance->check_out->format('H:i') : '-' }} | @switch($attendance->status) @case('present') Mevcut @break @case('absent') Yok @break @case('late') Geç @break @default {{ $attendance->status }} @endswitch | 
Henüz mesai kaydı bulunmuyor.
@endif