Commit 0c6901dd by Damien Moulard

fix code error

parent 5051f980
......@@ -251,7 +251,7 @@ class PaymentUtils
$allocationMethod = $this->tavCotisationUtils->getAppropriateAllocationMethod($flux->getDestinataire());
// Create new flux for cotisation, depending on process
if ($this->container->getParameter('household_based_allowance') || $this->container->getParameter('simplified_household_based_allowance')) {
if ($allocationMethod == 'household_based_allowance' || $allocationMethod == 'simplified_household_based_allowance') {
$this->tavCotisationUtils->applyHouseholdAllowance($flux);
} else {
$this->tavCotisationUtils->applyTauxCotisation($flux);
......
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