feat:Ajout notification email équipe informatique
All checks were successful
Organisation/sirh/pipeline/head This commit looks good
Organisation/sirh/pipeline/pr-main This commit looks good

This commit is contained in:
Fatimac2804
2026-09-10 12:23:45 +02:00
parent 904954c735
commit 29a42ee6be
2 changed files with 20 additions and 4 deletions

View File

@@ -15,6 +15,8 @@ try:
except:
pass
EMAIL_EQUIPE_INFORMATIQUE = ["support@cerfig.org"]
def solde_conge(employe):
"""Fonction de calcul du solde de congé restant l'employé"""
contrat = Contrat.objects.filter(employe=employe, statut='actif').order_by('-date_debut').first()