Commit f6a0440b by Yvon Kerdoncuff

use proper global variable to check if shared custody should be used

parent e03379b1
...@@ -215,7 +215,7 @@ class TAVCotisationUtils ...@@ -215,7 +215,7 @@ class TAVCotisationUtils
// increment allowance for each dependant child, depending on the shared custody arrangement // increment allowance for each dependant child, depending on the shared custody arrangement
$useSharedCustody = $this->em->getRepository(GlobalParameter::class) $useSharedCustody = $this->em->getRepository(GlobalParameter::class)
->val(GlobalParameter::SSA_HOUSEHOLD_SECONDARY_AMOUNT); ->val(GlobalParameter::SSA_HOUSEHOLD_USE_SHARED_CUSTODY);
$childUnderLimitAmount = (int) $this->em->getRepository(GlobalParameter::class) $childUnderLimitAmount = (int) $this->em->getRepository(GlobalParameter::class)
->val(GlobalParameter::SSA_HOUSEHOLD_DEPENDANT_CHILD_UNDER_LIMIT_AMOUNT); ->val(GlobalParameter::SSA_HOUSEHOLD_DEPENDANT_CHILD_UNDER_LIMIT_AMOUNT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment