@extends('layouts.app') @section('title', 'تفاصيل الموظف: ' . $employee->user->name) @section('content')

تفاصيل الموظف: {{ $employee->user->name }}

العودة للقائمة @can('hr.employees.edit') تعديل @endcan

المعلومات الأساسية

رقم الموظف {{ $employee->employee_number }}
الاسم {{ $employee->user->name }}
البريد الإلكتروني {{ $employee->user->email }}
رقم الهاتف {{ $employee->user->phone }}
رقم الهوية {{ $employee->national_id }}
الفرع {{ $employee->branch->name }}
المسمى الوظيفي {{ $employee->job_title }}
القسم {{ $employee->department }}
تاريخ التعيين {{ $employee->hire_date }}
الحالة @if($employee->status == 'active') نشط @elseif($employee->status == 'inactive') غير نشط @elseif($employee->status == 'terminated') منتهي @endif

المعلومات المالية

الراتب الأساسي {{ number_format($employee->basic_salary, 2) }}
بدل السكن {{ number_format($employee->housing_allowance, 2) }}
بدل النقل {{ number_format($employee->transportation_allowance, 2) }}
بدلات أخرى {{ number_format($employee->other_allowances, 2) }}
إجمالي الراتب {{ number_format($employee->basic_salary + $employee->housing_allowance + $employee->transportation_allowance + $employee->other_allowances, 2) }}
اسم البنك {{ $employee->bank_name ?: 'غير محدد' }}
رقم الحساب البنكي {{ $employee->bank_account ?: 'غير محدد' }}

معلومات الطوارئ

اسم جهة الاتصال {{ $employee->emergency_contact_name ?: 'غير محدد' }}
رقم هاتف جهة الاتصال {{ $employee->emergency_contact_phone ?: 'غير محدد' }}
@if($employee->notes)

ملاحظات

{{ $employee->notes }}
@endif @if($currentContract)

العقد الحالي

رقم العقد {{ $currentContract->contract_number }}
نوع العقد {{ $currentContract->contract_type }}
تاريخ البداية {{ $currentContract->start_date }}
تاريخ الانتهاء {{ $currentContract->end_date ?: 'غير محدد' }}
الراتب {{ number_format($currentContract->salary, 2) }}
الحالة @if($currentContract->status == 'active') ساري @elseif($currentContract->status == 'epired') منتهي @elseif($currentContract->status == 'terminated') ملغي @endif
@endif
@endsection