Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
5a753503
Commit
5a753503
authored
Aug 05, 2022
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix solidoume command for redistribution don bug + fix solidoume item show
parent
3405349c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
SolidoumeCommand.php
src/Command/SolidoumeCommand.php
+1
-1
show_solidoume_prelevements.html.twig
...ataAdminBundle/CRUD/show_solidoume_prelevements.html.twig
+1
-1
show_solidoume_redistributions.html.twig
...AdminBundle/CRUD/show_solidoume_redistributions.html.twig
+1
-1
No files found.
src/Command/SolidoumeCommand.php
View file @
5a753503
...
@@ -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
());
...
...
templates/themes/kohinos/bundles/SonataAdminBundle/CRUD/show_solidoume_prelevements.html.twig
View file @
5a753503
{%
extends
admin.getTemplate
(
'base_show_field'
)
%}
{%
extends
'@SonataAdmin/CRUD/base_show_field.html.twig'
%}
{%
block
field
%}
{%
block
field
%}
{%
-
spaceless
%}
{%
-
spaceless
%}
...
...
templates/themes/kohinos/bundles/SonataAdminBundle/CRUD/show_solidoume_redistributions.html.twig
View file @
5a753503
{%
extends
admin.getTemplate
(
'base_show_field'
)
%}
{%
extends
'@SonataAdmin/CRUD/base_show_field.html.twig'
%}
{%
block
field
%}
{%
block
field
%}
{%
-
spaceless
%}
{%
-
spaceless
%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment