6052
[auf_rh_dae.git] / project / rh / templates / email / mouvement_employe.html
index 73c3226..95c23bd 100644 (file)
            {{ changement.dossier.employe.id }}
          </td>
          <td valign="top">
            {{ changement.dossier.employe.id }}
          </td>
          <td valign="top">
-           {{ changement.date_creation|date:"d-m-Y" }}
+           {% if type.key == 'NO' %}
+           {{ changement.dossier.date_debut|date:"d-m-Y" }}
+           {% endif %}
+           {% if type.key == 'MO' %}
+           {{ changement.dossier.date_fin|date:"d-m-Y" }}
+           {% endif %}
+           {% if type.key == 'DE' %}
+           {{ changement.dossier.date_debut|date:"d-m-Y" }}
+           {% endif %}
          </td>
          <td valign="top">
            {{ changement.dossier.poste.nom }}
          </td>
          <td valign="top">
            {{ changement.dossier.poste.nom }}