Commit 5a753503 by Julien Jorry

Fix solidoume command for redistribution don bug + fix solidoume item show

parent 3405349c
...@@ -265,7 +265,7 @@ class SolidoumeCommand extends Command ...@@ -265,7 +265,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 ($this->isItemPayedThisMonth($item)) { if ($this->isItemPayedThisMonth($item) && !$item->getIsDonation()) {
// 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());
......
{% extends admin.getTemplate('base_show_field') %} {% extends '@SonataAdmin/CRUD/base_show_field.html.twig' %}
{% block field %} {% block field %}
{%- spaceless %} {%- spaceless %}
......
{% extends admin.getTemplate('base_show_field') %} {% extends '@SonataAdmin/CRUD/base_show_field.html.twig' %}
{% block field %} {% block field %}
{%- spaceless %} {%- spaceless %}
......
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