diff --git a/passerelle/contrib/toulouse_maelis/models.py b/passerelle/contrib/toulouse_maelis/models.py
index 18eec229..c403c654 100644
--- a/passerelle/contrib/toulouse_maelis/models.py
+++ b/passerelle/contrib/toulouse_maelis/models.py
@@ -518,6 +518,10 @@ class ToulouseMaelis(BaseResource, HTTPResource):
'dossierNumber': family_id,
'categorie': family['category'],
'situation': family['situation'],
+ 'flagCom': family['flagCom'],
+ 'nbChild': family['nbChild'],
+ 'nbTotalChild': family['nbTotalChild'],
+ 'nbAES': family['nbAES'],
'rl1': rl1,
}
self.call('Family', 'updateFamily', **payload)
@@ -541,6 +545,10 @@ class ToulouseMaelis(BaseResource, HTTPResource):
'dossierNumber': family_id,
'categorie': family['category'],
'situation': family['situation'],
+ 'flagCom': family['flagCom'],
+ 'nbChild': family['nbChild'],
+ 'nbTotalChild': family['nbTotalChild'],
+ 'nbAES': family['nbAES'],
'rl2': post_data,
}
self.call('Family', 'updateFamily', **payload)
@@ -568,6 +576,10 @@ class ToulouseMaelis(BaseResource, HTTPResource):
'dossierNumber': family_id,
'categorie': family['category'],
'situation': family['situation'],
+ 'flagCom': family['flagCom'],
+ 'nbChild': family['nbChild'],
+ 'nbTotalChild': family['nbTotalChild'],
+ 'nbAES': family['nbAES'],
'rl2': rl2,
}
self.call('Family', 'updateFamily', **payload)
@@ -628,6 +640,10 @@ class ToulouseMaelis(BaseResource, HTTPResource):
'dossierNumber': family_id,
'categorie': family['category'],
'situation': family['situation'],
+ 'flagCom': family['flagCom'],
+ 'nbChild': family['nbChild'],
+ 'nbTotalChild': family['nbTotalChild'],
+ 'nbAES': family['nbAES'],
'childList': [child],
}
self.call('Family', 'updateFamily', **payload)
@@ -675,6 +691,10 @@ class ToulouseMaelis(BaseResource, HTTPResource):
'dossierNumber': family_id,
'categorie': family['category'],
'situation': family['situation'],
+ 'flagCom': family['flagCom'],
+ 'nbChild': family['nbChild'],
+ 'nbTotalChild': family['nbTotalChild'],
+ 'nbAES': family['nbAES'],
kind + 'PersonList': [{'personList': personList}],
}
self.call('Family', 'updateFamily', **payload)
@@ -713,6 +733,10 @@ class ToulouseMaelis(BaseResource, HTTPResource):
'dossierNumber': family_id,
'categorie': family['category'],
'situation': family['situation'],
+ 'flagCom': family['flagCom'],
+ 'nbChild': family['nbChild'],
+ 'nbTotalChild': family['nbTotalChild'],
+ 'nbAES': family['nbAES'],
kind + 'PersonList': [{'personList': personList}],
}
self.call('Family', 'updateFamily', **payload)
@@ -749,6 +773,10 @@ class ToulouseMaelis(BaseResource, HTTPResource):
'dossierNumber': family_id,
'categorie': family['category'],
'situation': family['situation'],
+ 'flagCom': family['flagCom'],
+ 'nbChild': family['nbChild'],
+ 'nbTotalChild': family['nbTotalChild'],
+ 'nbAES': family['nbAES'],
kind + 'PersonList': [{'personList': personList}],
}
self.call('Family', 'updateFamily', **payload)
diff --git a/tests/data/toulouse_maelis/Q_create_person.xml b/tests/data/toulouse_maelis/Q_create_person.xml
index 0bed61bd..87883b58 100644
--- a/tests/data/toulouse_maelis/Q_create_person.xml
+++ b/tests/data/toulouse_maelis/Q_create_person.xml
@@ -13,6 +13,8 @@
1312
BI
M
+ true
+ 2
614059
diff --git a/tests/data/toulouse_maelis/Q_create_rl2.xml b/tests/data/toulouse_maelis/Q_create_rl2.xml
index 759d68be..8f84b48d 100644
--- a/tests/data/toulouse_maelis/Q_create_rl2.xml
+++ b/tests/data/toulouse_maelis/Q_create_rl2.xml
@@ -12,6 +12,8 @@
1312
BI
M
+ true
+ 2
DOE
JANE
diff --git a/tests/data/toulouse_maelis/Q_delete_person.xml b/tests/data/toulouse_maelis/Q_delete_person.xml
index c9bf9ec0..24e3259f 100644
--- a/tests/data/toulouse_maelis/Q_delete_person.xml
+++ b/tests/data/toulouse_maelis/Q_delete_person.xml
@@ -13,6 +13,8 @@
1312
BI
M
+ true
+ 2
diff --git a/tests/data/toulouse_maelis/Q_update_child.xml b/tests/data/toulouse_maelis/Q_update_child.xml
index fb3a0021..9a2c1e08 100644
--- a/tests/data/toulouse_maelis/Q_update_child.xml
+++ b/tests/data/toulouse_maelis/Q_update_child.xml
@@ -12,6 +12,8 @@
1312
BI
M
+ true
+ 2
613880
DOE
diff --git a/tests/data/toulouse_maelis/Q_update_person.xml b/tests/data/toulouse_maelis/Q_update_person.xml
index 80e219f7..ea48b4a0 100644
--- a/tests/data/toulouse_maelis/Q_update_person.xml
+++ b/tests/data/toulouse_maelis/Q_update_person.xml
@@ -13,6 +13,8 @@
1312
BI
M
+ true
+ 2
614059
diff --git a/tests/data/toulouse_maelis/Q_update_rl1.xml b/tests/data/toulouse_maelis/Q_update_rl1.xml
index bafdc62e..677d6d99 100644
--- a/tests/data/toulouse_maelis/Q_update_rl1.xml
+++ b/tests/data/toulouse_maelis/Q_update_rl1.xml
@@ -13,6 +13,8 @@
1312
BI
M
+ true
+ 2
613878
Doe
diff --git a/tests/data/toulouse_maelis/Q_update_rl2.xml b/tests/data/toulouse_maelis/Q_update_rl2.xml
index 4bec07e9..ee64b404 100644
--- a/tests/data/toulouse_maelis/Q_update_rl2.xml
+++ b/tests/data/toulouse_maelis/Q_update_rl2.xml
@@ -12,6 +12,8 @@
1312
BI
M
+ true
+ 2
613879
DOE