Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
monnaies-locales
kohinos
Commits
1a414077
Commit
1a414077
authored
Oct 25, 2021
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1435 - update money balances after presta reconversion
parent
3f3f2398
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
TransfertPrestataireComptoir.php
src/Entity/TransfertPrestataireComptoir.php
+4
-1
No files found.
src/Entity/TransfertPrestataireComptoir.php
View file @
1a414077
...
...
@@ -56,9 +56,12 @@ class TransfertPrestataireComptoir extends Transfert
// On augmente le compte de e-mmonaie du presta
$this
->
getExpediteur
()
->
addEcompte
(
$this
->
getMontant
());
// On augmente le solde
du comptoir (récupération des billets)
// On augmente le solde
billets du comptoir
$this
->
getDestinataire
()
->
addCompte
(
$this
->
getMontant
());
// On baisse le solde de billets nanties au siège
$this
->
getDestinataire
()
->
getGroupe
()
->
getSiege
()
->
removeCompteNantie
(
$this
->
getMontant
());
// On augmente le solde de e-monnaie nantie du siège
$this
->
getDestinataire
()
->
getGroupe
()
->
getSiege
()
->
addEcompte
(
$this
->
getMontant
());
...
...
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