// User should receive more than he•she paid: send a new flux to the user to complete its cotisation
$fluxCotis=newCotisationTavReversement();
$fluxCotis->setExpediteur($siege);
$fluxCotis->setDestinataire($adherent);
$fluxCotis->setMontant($amountDiff);
$fluxCotis->setReference("Versement de l'allocation complémentaire après paiement de ".$cotisationAmount."€ pour atteindre une allocation de ".$mlcAllowanceAmount." MonA.");
}else{
// User should receive less than he•she paid: fetch the difference from his account
$fluxCotis=newCotisationTavPrelevement();
$fluxCotis->setExpediteur($adherent);
$fluxCotis->setDestinataire($siege);
$fluxCotis->setMontant(-$amountDiff);
$fluxCotis->setReference("Réduction de l'allocation correspondant à un paiement de ".$cotisationAmount."€ pour atteindre une allocation de ".$mlcAllowanceAmount." MonA.");
// User should receive more than he•she paid: send a new flux to the user to complete its cotisation
$fluxCotis=newCotisationTavReversement();
$fluxCotis->setExpediteur($siege);
$fluxCotis->setDestinataire($adherent);
$fluxCotis->setMontant($amountDiff);
$fluxCotis->setReference("Versement de l'allocation complémentaire après paiement de ".$cotisationAmount."€ pour atteindre une allocation de ".$mlcAllowanceAmount." MonA.");
}else{
// User should receive less than he•she paid: fetch the difference from his account
$fluxCotis=newCotisationTavPrelevement();
$fluxCotis->setExpediteur($adherent);
$fluxCotis->setDestinataire($siege);
$fluxCotis->setMontant(-$amountDiff);
$fluxCotis->setReference("Réduction de l'allocation correspondant à un paiement de ".$cotisationAmount."€ pour atteindre une allocation de ".$mlcAllowanceAmount." MonA.");