{% extends 'base.html.twig' %} {% block title %}Détails salarié{% endblock %} {% block header %} {{parent()}} {{ encore_entry_link_tags('calendarStyle') }} {% endblock %} {% block stylesheets %} {% endblock %} {% block body %}

Informations sur {{ salarie.titre }} {{ salarie.nom }} {{ salarie.prenom }}

Informations générales
{% set champs = [ {'label': 'Adresse', 'valeurs': [salarie.adresse1, salarie.adresse2]}, {'label': 'Code Postal', 'valeur': salarie.codePostal}, {'label': 'Ville', 'valeur': salarie.ville}, {'label': 'Email', 'valeur': salarie.mailPro}, {'label': 'Téléphone', 'valeur': salarie.telPro}, {'label': 'Téléphone personnel', 'valeur': salarie.telPerso}, {'label': 'Date de Naissance', 'valeur': salarie.dateNaissance ? salarie.dateNaissance|date('d/m/Y') : 'Non renseignée'}, {'label': 'Date d\'Entrée en Société', 'valeur': salarie.dateEntreeSociete ? salarie.dateEntreeSociete|date('d/m/Y') : 'Non renseignée'}, {'label': 'Numéro de Sécurité Sociale', 'valeur': numSecu}, {'label': 'Situation Familiale', 'valeur': salarie.situationFamiliale}, {'label': 'Mutuelle d\'entreprise', 'valeur': salarie.mutuelle ? 'Oui' : 'Non'}, {'label': 'Responsable Hiérarchique', 'valeur': dernierContrat.responsableHierarchique} ] %} {% for champ in champs %} {% if champ.valeur is defined and champ.valeur is not null and champ.valeur|length > 0 %} {% endif %} {% endfor %}
Titre {{ salarie.titre }}
Nom {{ salarie.nom }}
Prénom {{ salarie.prenom }}
{{ champ.label }} {% if champ.valeurs is defined and champ.valeurs is iterable %} {{ champ.valeurs|join('
') }} {% else %} {{ champ.valeur|raw }} {% endif %}
Entreprise {{ dernierContrat.entreprise.nom }}
Contrat actuel
{{ dernierContrat.typeContrat }}
Contrats
    {% for contrat in contrats %} {% endfor %}
    {{ contrat.intitulePoste }} {% if contrat.dateFin is null %} depuis le {{ contrat.dateDebut|date('d/m/Y') }} {% else %} jusqu'au {{ contrat.dateFin|date('d/m/Y') }} {% endif %}
    Ajouter un contrat
{% if dernierContrat.typeContrat != 'interimaire' %}
Avantages
{% if salarie.avantages|length > 0 and salarie.avantages.dateDelete is null %}
    {% for avantage in avantages %}
  • {% if avantage.vehiculeEntreprise is not null %} Type de Véhicule : {{ avantage.vehiculeEntreprise.typeVehicule }}
    Immatriculation : {{ avantage.vehiculeEntreprise.immatriculation }}
    {% endif %} {% if avantage.badgeTelepeage is not empty %} Badge Télépéage : {{ avantage.badgeTelepeage }}
    {% endif %} {% if avantage.carteTotal is not empty %} Carte Total : {{ avantage.carteTotal }}
    {% endif %} {% if avantage.device is not empty %} Appareils : {{ avantage.device }}
    {% endif %} {% if avantage.materiels is not empty %} Matériels : {{ avantage.materiels }}
    {% endif %}
  • {% endfor %}
{% else %}

Aucun avantage trouvé

{% endif %} Ajouter un avantage
{% endif %}
Visites Médicales
{% if visitesMedicales is not null %}
    {% for visiteMedicale in visitesMedicales %} {% if visiteMedicale.visitesPrecedentes == false %}
  • Dernière visite:
  • Date: {{ visiteMedicale.dateDerniere|date('d/m/Y') }}
  • État: {{ visiteMedicale.etat }}
  • Commentaire: {{ visiteMedicale.commentaire }}
  • Modifier la dernière visite
  • {% endif %} {% endfor %}
{% for visiteMedicale in visitesMedicales %} {% if visiteMedicale.visitesPrecedentes == true %} {% endif %} {% endfor %}
Visite(s) précédente(s)
{{ visiteMedicale.dateDerniere|date('d/m/Y') }}
{{ visiteMedicale.etat }}
{% endif %} Ajouter une visite médicale
{% if dernierContrat.typeContrat != 'interimaire' %}
Enfants
{% for enfant in salarie.enfant %} {% if enfant.dateDelete is null %} {% endif %} {% endfor %} {% if salarie.enfant|length == 0 %} {% endif %}
Nom Prénom Date de Naissance
{{ enfant.nom }} {{ enfant.prenom }} {{ enfant.dateNaissance|date('d/m/Y') }}
Aucun enfant trouvé
Ajouter un enfant
{% endif %}
{% if dernierContrat.typeContrat != 'interimaire' %}

Synthèse des Absences

Absences
{% for absence in absences %} {% endfor %}
Libellé Type Date de Début Date de Fin
{{ absence.libelle }} {{ absenceTypes[absence.type] }} {{ absence.dateDebut|date('d/m/Y') }} {{ absence.heureDebut|date('H:i:s') }} {{ absence.dateFin|date('d/m/Y') }} {{ absence.heureFin|date('H:i:s') }}
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('calendar') }} {% endblock %}