diff --git a/src/app/shared/api-swagger/model/statutEp.ts b/src/app/shared/api-swagger/model/statutEp.ts index 9c6f90d..96d6bec 100644 --- a/src/app/shared/api-swagger/model/statutEp.ts +++ b/src/app/shared/api-swagger/model/statutEp.ts @@ -36,6 +36,10 @@ export function estEPDisponible (statut:StatutEp) { return statut != StatutEp.Cree && statut != StatutEp.Disponible } +export function estEPEnCours (statut:StatutEp) { + return statut != StatutEp.Annule && statut != StatutEp.Cree && statut != StatutEp.Rejete && statut != StatutEp.Signe +} + export function affichageStatut(statut: StatutEp) { switch(statut) { case StatutEp.Cree: