{{-- ✅ الهيدر --}}
{{-- ✅ المحتوى --}}
@php $employee = $employee ?? null; @endphp @if ($employee)

{{ __('Employment Contract') }}

{{ __('This contract is made between') }} {{ optional($employee->company)->name }} {{ __('hereinafter referred to as "Employer", and') }} {{ $employee->name }} {{ __('hereinafter referred to as "Employee".') }}

{{ __('Employee Details') }}
{{ __('Full Name') }}: {{ $employee->name }} {{ __('Civil ID') }}: {{ $employee->civil_id }}
{{ __('Job Title') }}: {{ optional($employee->position)->name }} {{ __('Department') }}: {{ optional($employee->department)->name }}
{{ __('Contract Type') }}: {{ __($employee->contract_type ?? '-') }} {{ __('Job Number') }}: {{ $employee->job_number }}
{{ __('Contract Terms') }}
{{ __('Start Date') }}: {{ $employee->start_date }} {{ __('End Date') }}: {{ $employee->contract_end_date ?? __('N/A') }}
{{ __('Work Type') }}: {{ __($employee->work_type ?? '-') }} {{ __('Work Schedule') }}: {{ __($employee->work_schedule) ?? __('Standard') }}
{{ __('Weekly Work Days') }}: {{ $employee->weekly_work_days }}
{{ __('Weekly Off Days') }}: {{ $employee->weekly_off_days }} {{ __('Annual Leave Days') }}: {{ $employee->annual_leave_days }}
{{ __('Compensation') }}
{{ __('Basic Salary') }}: {{ $employee->basic_salary }} USD {{ __('Housing Allowance') }}: {{ $employee->housing_allowance }} USD
{{ __('Transport Allowance') }}: {{ $employee->transport_allowance }} USD {{ __('Other Allowance') }}: {{ $employee->other_allowance }} USD
{{ __('Total Monthly Salary') }}: {{ $employee->total_salary }} USD
{{ __('Signatures') }}
{{ __('Employee Signature') }}:

{{ __('Name') }}: _____________________

{{ __('Signature') }}: _____________________

{{ __('Date') }}: _____________________
{{ __('Employer Signature') }}:

{{ __('Name') }}: _____________________

{{ __('Signature') }}: _____________________

{{ __('Date') }}: _____________________
@endif
{{-- ✅ الفوتر --}}