feat(#157): alerte enfants sans responsable + rattachement foyer.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -37,6 +37,10 @@ class EnfantAdminModel {
|
||||
return '$fn $ln';
|
||||
}
|
||||
|
||||
/// Aucun lien parent valide (`enfants_parents` vide) — ticket #157.
|
||||
bool get hasNoResponsable =>
|
||||
!parentLinks.any((l) => l.parentId.trim().isNotEmpty);
|
||||
|
||||
EnfantAdminModel copyWith({
|
||||
String? id,
|
||||
String? firstName,
|
||||
|
||||
Reference in New Issue
Block a user