@extends('layouts.app') @section('title', 'تفاصيل العقد') @section('content')

تفاصيل العقد: {{ $employeeContract->contract_number }}

معلومات العقد الأساسية
رقم العقد {{ $employeeContract->contract_number }}
الموظف {{ $employeeContract->employee->user->name }}
المسمى الوظيفي {{ $employeeContract->job_title }}
نوع العقد {{ $contractTypes[$employeeContract->contract_type] ?? $employeeContract->contract_type }}
تاريخ بدء العقد {{ $employeeContract->start_date }}
تاريخ انتهاء العقد {{ $employeeContract->end_date ?? 'غير محدد' }}
حالة العقد @if($employeeContract->status == 'active') نشط @elseif($employeeContract->status == 'inactive') غير نشط @elseif($employeeContract->status == 'terminated') منتهي @else {{ $employeeContract->status }} @endif
التفاصيل المالية
الراتب الأساسي {{ number_format($employeeContract->basic_salary, 2) }}
بدل السكن {{ $employeeContract->housing_allowance ? number_format($employeeContract->housing_allowance, 2) : 'لا يوجد' }}
بدل المواصلات {{ $employeeContract->transportation_allowance ? number_format($employeeContract->transportation_allowance, 2) : 'لا يوجد' }}
بدلات أخرى {{ $employeeContract->other_allowances ? number_format($employeeContract->other_allowances, 2) : 'لا يوجد' }}
إجمالي الراتب {{ number_format( $employeeContract->basic_salary + ($employeeContract->housing_allowance ?? 0) + ($employeeContract->transportation_allowance ?? 0) + ($employeeContract->other_allowances ?? 0), 2 ) }}
شروط العمل
ساعات العمل اليومية {{ $employeeContract->working_hours ?? 'غير محدد' }}
فترة التجربة {{ $employeeContract->probation_period ? $employeeContract->probation_period . ' يوم' : 'لا يوجد' }}
فترة الإشعار {{ $employeeContract->notice_period ? $employeeContract->notice_period . ' يوم' : 'لا يوجد' }}
ملاحظات ومرفقات
{!! nl2br(e($employeeContract->notes)) ?: 'لا توجد ملاحظات' !!}
@if($employeeContract->contract_file) تحميل ملف العقد @else

لا يوجد ملف مرفق

@endif
@endsection