Commit 4792a5a5 by Julien Jorry

Fix for solidoume

parent 0c9bbcd5
...@@ -272,7 +272,7 @@ class SolidoumeCommand extends Command ...@@ -272,7 +272,7 @@ class SolidoumeCommand extends Command
$operationUtils = $this->operationUtils; $operationUtils = $this->operationUtils;
$callback = function () use ($em, $items, $isTest, $io, $totalByParticipant, $operationUtils) { $callback = function () use ($em, $items, $isTest, $io, $totalByParticipant, $operationUtils) {
foreach ($items as $item) { foreach ($items as $item) {
if (!$item->getIsDonation() && $item->isEnabled()) { if ($this->isItemPayedThisMonth($item)) {
// Envoi de l'emlc sur le compte de l'adherent // Envoi de l'emlc sur le compte de l'adherent
$flux = new TransactionPrestataireAdherent(); $flux = new TransactionPrestataireAdherent();
$flux->setExpediteur($em->getRepository(Prestataire::class)->getPrestataireSolidoume()); $flux->setExpediteur($em->getRepository(Prestataire::class)->getPrestataireSolidoume());
......
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