{% set contratResilie = contrat and contrat.contratResiliations[0] is defined ? contrat.contratResiliations[0] %}