{% extends '@App/app.html.twig' %} {% block title %}{{ contract.reference }}{% endblock %} {% block page_header %}{% endblock %} {% block content %} {% set view = contract_view %} {% set employee = contract.salarie %} {% set employee_name = employee ? employee|trim : 'Salarié non renseigné' %} {% set employee_initials = employee ? ((employee.prenom|default('')|first) ~ (employee.nom|default('')|first))|upper : 'S' %} {% set photo_path = employee and employee.photo ? employee.photo|trim : null %} {% set avatar_src = photo_path ? (photo_path starts with 'http://' or photo_path starts with 'https://' ? photo_path : asset(photo_path starts with '/' ? photo_path|slice(1) : photo_path)) : null %} {% set gross = contract.remunerationBrute %} {% set salary_label = gross ? gross|number_format(0, ',', ' ') ~ ' € / mois' : 'Non renseigné' %} {% set net_label = view.netMonthly ? '~' ~ view.netMonthly|number_format(0, ',', ' ') ~ ' €' : 'Non renseigné' %} {% set start_label = contract.dateDebut ? contract.dateDebut|date('d M Y') : 'Non renseignée' %} {% set end_label = contract.dateFin ? contract.dateFin|date('d M Y') : '—' %} {% set trial_label = contract.dateFinPeriodeEssai ? 'Jusqu’au ' ~ contract.dateFinPeriodeEssai|date('d M Y') : 'Non renseignée' %} {% set contract_title = 'Contrat de travail — ' ~ view.typeLabel %}

{{ contract_title }}

Créé le {{ contract.generatedAt ? contract.generatedAt|date('d M Y') : start_label }} · Réf. {{ contract.reference }}

{% if contract.pdfPath and is_granted('CONTRACT_DOWNLOAD', contract) %} Télécharger {% else %}
{% endif %} {% if is_granted('CONTRACT_EDIT', contract) %} Modifier {% endif %} {% if isSignatureEnabled and contract.pdfPath and is_granted('CONTRACT_SEND_SIGNATURE', contract) %}
{% endif %}
{% if avatar_src %} {{ employee_name }} {% else %} {{ employee_initials ?: 'S' }} {% endif %}
Salarié{{ employee_name }}
Type{{ view.typeLabel }}
Poste{{ contract.intitulePoste ?: 'Non renseigné' }}
Date de début{{ start_label }}
Salaire brut{{ salary_label }}
{{ view.statusLabel }}

Informations générales

Salarié{{ employee_name }}
Type de contrat{{ view.typeLabel }} — {{ contract.typeContrat|upper == 'CDI' ? 'Contrat à Durée Indéterminée' : contract.typeContrat|upper }}
Poste occupé{{ contract.intitulePoste ?: 'Non renseigné' }}
Département{{ contract.service ?: 'Non renseigné' }}
Établissement{{ contract.etablissement ? contract.etablissement.nom : 'Non renseigné' }}
Catégorie{{ contract.categorie ?: 'Non renseignée' }}
Date de début{{ start_label }}
Date de fin{{ end_label }}
Période d’essai{{ trial_label }}
Durée hebdomadaire{{ contract.tempsTravailHebdomadaire ? contract.tempsTravailHebdomadaire ~ ' heures / semaine' : 'Non renseignée' }}
Convention collective{{ contract.conventionCollective ?: 'Non renseignée' }}
Classification{{ contract.classification ?: 'Non renseignée' }}

Rémunération

Salaire brut mensuel{{ gross ? gross|number_format(2, ',', ' ') ~ ' €' : 'Non renseigné' }}
Salaire net estimé{{ net_label }}
Mode de paiementVirement bancaire
Fréquence{{ contract.remunerationPeriodicite ?: 'Mensuelle — fin de mois' }}
Devise{{ contract.devise ?: 'EUR' }}
Coefficient{{ contract.coefficient ?: 'Non renseigné' }}
Mutuelle Transport 50% Télétravail partiel

Documents joints

{{ view.documentStats.total }} fichier{{ view.documentStats.total > 1 ? 's' : '' }}
{% for doc in documents %}
{{ doc.nom }} {{ doc.type|capitalize }} · {{ doc.fileSize ? (doc.fileSize / 1024)|round ~ ' Ko' : 'Taille non renseignée' }} · Ajouté le {{ doc.createdAt|date('d M Y') }}
{{ doc.locked ? 'Validé' : 'En attente' }}
{% else %}

Aucun document joint au contrat.

{% endfor %}
{% endblock %}