{% extends 'base.html.twig' %} {% block title %}Clore le contrat en cours{% endblock %} {% block body %}

Clore le contrat en cours pour {{ salarie.prenom }} {{ salarie.nom }}

Le salarié a déjà un contrat en cours avec une date de début {{ contratEnCours.dateDebut|date('d/m/Y') }}. Veuillez entrer une date de fin et un motif pour clore ce contrat.

{{ form_start(cloreContratForm) }}
{{ form_label(cloreContratForm.dateFin, null, {'label_attr': {'class': 'form-label'}}) }} {{ form_widget(cloreContratForm.dateFin, {'attr': {'class': 'form-control', 'type': 'date', 'name': 'dateFinContrat'}}) }}
{{ form_label(cloreContratForm.motifFinContrat, null, {'label_attr': {'class': 'form-label'}}) }} {{ form_widget(cloreContratForm.motifFinContrat, {'attr': {'class': 'form-control'}}) }}
{{ form_end(cloreContratForm) }}
{% endblock %}