@php
/** @var \App\Models\Employee $employee */
$date = static fn (?\Carbon\CarbonInterface $value): string => $value?->format('d/m/Y') ?? '';
$text = static fn (?string $value): string => filled($value) ? $value : '';
@endphp
Fiche employé {{ $employee->code }}
@if (! empty($company['logo_path']))

@endif
{{ $company['legal_name'] ?: $company['name'] }}
@if (! empty($company['employer_cnps_number'])) · N° CNPS {{ $company['employer_cnps_number'] }} @endif
|
{{ $employee->code }}
Édité le {{ now()->format('d/m/Y') }}
|
Fiche employé
| Nom complet : |
{{ $employee->fullName() }} |
Statut : |
@if ($employee->isDeparted())
Parti le {{ $date($employee->terminated_at) }}@if ($employee->termination_reason) ({{ $employee->termination_reason->label() }})@endif
@elseif ($employee->is_active)
En activité
@else
Inactif
@endif
|
Informations personnelles
| Adresse : |
{{ $text($employee->fullAddress()) }} |
| Date de naissance : |
{{ $date($employee->birth_date) }} |
Nationalité : |
{{ $text($employee->nationality) }} |
| Téléphone : |
{{ $text($employee->phone) }} |
Email personnel : |
{{ $text($employee->personal_email) }} |
| N° CNPS : |
{{ $text($employee->cnps_number) }} |
Situation familiale : |
{{ $employee->marital_status?->label() ?? '' }} |
Informations professionnelles
| Poste : |
{{ $text($employee->jobPosition?->name ?? $employee->job_title) }} |
Matricule : |
{{ $employee->code }} |
| Manager : |
{{ $text($employee->manager?->name) }} |
Département : |
{{ $text($employee->departmentRelation?->name ?? $employee->department) }} |
| Téléphone pro. : |
{{ $text($employee->work_phone) }} |
Email pro. : |
{{ $text($employee->email) }} |
| Date d'embauche : |
{{ $date($employee->hire_date) }} |
Ancienneté : |
{{ $seniority ?? '' }} |
|
CDI
|
CDD
|
Autre ({{ $employee->contract_type->label() }})
|
Contact d'urgence
| Nom : |
{{ $text($employee->emergency_contact_name) }} |
Lien : |
{{ $text($employee->emergency_contact_relationship) }} |
| Téléphone : |
{{ $text($employee->emergency_contact_phone) }} |
Historique de carrière récent
@forelse ($employee->careerEvents as $event)
| {{ $date($event->effective_date) }} |
{{ $event->type->label() }} |
{{ $text($event->note) }}
@if ($event->newDepartment) · Département : {{ $event->newDepartment->name }} @endif
@if ($event->newManager) · Manager : {{ $event->newManager->name }} @endif
|
@empty
| Aucun événement de carrière enregistré |
@endforelse