$ref="Prise en charge du tiers financeur $thirdparty d'un montant de ".$fundingAmount."€ pour l'adhérent ".$adherent.", pour sa cotisation de ".$cotisationAmount."€ avec reversement de $amountDiff MonA";
$thirdPartyAllocationFunding->setReference($ref);
$this->em->persist($thirdPartyAllocationFunding);
// Update allocation flux reference to include third party
$fluxCotisRef.=" ; dont prise en charge de ".$fundingAmount."€ par le tiers financeur $thirdparty";
$ref="Prise en charge du tiers financeur $thirdparty d'un montant de ".$fundingAmount."€ pour l'adhérent ".$adherent.", pour sa cotisation de ".$cotisationAmount."€ avec reversement de $amountDiff MonA";
$thirdPartyAllocationFunding->setReference($ref);
$this->em->persist($thirdPartyAllocationFunding);
// Update allocation flux reference to include third party
$fluxCotisRef=$fluxCotis->getReference();
$fluxCotisRef.=" ; dont prise en charge de ".$fundingAmount."€ par le tiers financeur $thirdparty";
$fluxCotis->setReference($fluxCotisRef);
}
/**
* Method called to create Flux based on allowance amount (for household based allowance).