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
d12c269d
Commit
d12c269d
authored
May 23, 2024
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix latent bug in if else section of PaymentUtils.php
parent
c3f3fb0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
PaymentUtils.php
src/Utils/PaymentUtils.php
+2
-2
No files found.
src/Utils/PaymentUtils.php
View file @
d12c269d
...
...
@@ -212,7 +212,7 @@ class PaymentUtils
$payment
->
setClientId
(
$user
->
getId
());
$payment
->
setExtraData
(
''
);
$this
->
em
->
persist
(
$payment
);
}
else
if
(
Payment
::
TYPE_PAIEMENT_COTISATION_TAV
==
$type
||
Payment
::
TYPE_PAIEMENT_RECURRENT_COTISATION_TAV
)
{
}
else
if
(
Payment
::
TYPE_PAIEMENT_COTISATION_TAV
==
$type
||
Payment
::
TYPE_PAIEMENT_RECURRENT_COTISATION_TAV
==
$type
)
{
$flux
=
$this
->
serializer
->
deserialize
(
$payment
->
getFluxData
(),
AchatMonnaieAdherent
::
class
,
...
...
@@ -247,7 +247,7 @@ class PaymentUtils
$this
->
em
->
persist
(
$flux
);
$this
->
operationUtils
->
executeOperations
(
$flux
);
if
(
Payment
::
TYPE_PAIEMENT_COTISATION_TAV
==
$type
||
Payment
::
TYPE_PAIEMENT_RECURRENT_COTISATION_TAV
)
{
if
(
Payment
::
TYPE_PAIEMENT_COTISATION_TAV
==
$type
||
Payment
::
TYPE_PAIEMENT_RECURRENT_COTISATION_TAV
==
$type
)
{
// Create new flux for cotisation, depending on process
if
(
$this
->
container
->
getParameter
(
'household_based_allowance'
))
{
$this
->
tavCotisationsUtils
->
applyHouseholdAllowance
(
$flux
);
...
...
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