Commit 464a09f2 by Yvon Kerdoncuff

remove useless call to calculateAllowanceAccordingToHousehold in…

remove useless call to calculateAllowanceAccordingToHousehold in comptoirEncaisserCotisationAction after recalculate button addition
parent 4ac38f0c
......@@ -253,11 +253,6 @@ class UserComptoirController extends FluxController
return $this->redirectToRoute('index');
}
if (is_null($destinataire->getAllocationAmount())) {
$this->tavCotisationUtils->calculateAllowanceAccordingToHousehold($destinataire);
$this->em->persist($destinataire);
}
$flux->setMontant($cotisationAmount);
$this->em->persist($flux);
$this->operationUtils->executeOperations($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