feat: Mise en place des actions pour chaque state du RF, possibilité

d'éditer le formulaire de création de RF (reste à submit un PUT)
This commit is contained in:
N3WT DE COMPET
2025-05-06 00:53:45 +02:00
parent 4fc061fc25
commit 8fc9478786
11 changed files with 351 additions and 130 deletions

View File

@ -14,3 +14,18 @@ export const genders = [
{ value: '1', label: 'Garçon' },
{ value: '2', label: 'Fille' },
];
export const RegistrationFormStatus = {
STATUS_TO_SEND: 1,
STATUS_PENDING: 2,
STATUS_TO_VALIDATE: 3,
STATUS_TO_FOLLOW_UP: 4, // Non testé
STATUS_VALIDATED: 5,
STATUS_ARCHIVED: 6,
STATUS_SEPA_PENDING: 7,
STATUS_SEPA_TO_SEND: 8,
};
export const CURRENT_YEAR = 'current_year';
export const NEXT_YEAR = 'next_year';
export const HISTORICAL = 'historical';