feat(#112): reprise après refus — dossier complet, email resoumission

- GET/PATCH reprise-dossier enrichis (parents, enfants, motivation, fiche AM)
- Front: lien mail, modale identify login, wizards préremplis, PATCH complet
- Email accusé resoumission aux parents avec n° de dossier
- Fixes préremplissage AM (dates, places, ValueKey étape 2)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-16 19:19:55 +02:00
co-authored by Cursor
parent c226c2fcdf
commit b99745e0fe
36 changed files with 2460 additions and 85 deletions
@@ -149,6 +149,20 @@ class ParentRegistrationPayload {
return body;
}
/// Enfant pour PATCH reprise (inclut `id` si connu).
static Map<String, dynamic> childToRepriseJson(
ChildData c,
int index,
String parentNom,
) {
final map = _childToJson(c, index, parentNom);
final id = c.repriseChildId?.trim();
if (id != null && id.isNotEmpty) {
map['id'] = id;
}
return map;
}
static Map<String, dynamic> _childToJson(ChildData c, int index, String parentNom) {
final map = <String, dynamic>{
'genre': apiGenres.contains(c.genre) ? c.genre : 'Autre',