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
372104e6
Commit
372104e6
authored
Dec 06, 2022
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utilisation du montant du profil de cotisation
parent
f6268138
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
UserAdherentController.php
src/Controller/UserAdherentController.php
+1
-1
AchatMonnaieFormType.php
src/Form/Type/AchatMonnaieFormType.php
+1
-3
No files found.
src/Controller/UserAdherentController.php
View file @
372104e6
...
...
@@ -148,7 +148,7 @@ class UserAdherentController extends FluxController
$this
->
em
->
flush
();
$this
->
addFlash
(
'success'
,
$this
->
translator
->
trans
(
'Cotisation payée !
(la bonification n\'est pas encore active)
'
)
$this
->
translator
->
trans
(
'Cotisation payée !
[Payzen désactivé en attent du compte ; bonification pas encore implémentée]
'
)
);
return
$this
->
redirectToRoute
(
'index'
);
...
...
src/Form/Type/AchatMonnaieFormType.php
View file @
372104e6
...
...
@@ -38,9 +38,7 @@ class AchatMonnaieFormType extends FluxFormType
$montant
=
0
;
$profilDeCotisation
=
$this
->
security
->
getUser
()
->
getAdherent
()
->
getProfilDeCotisation
();
if
(
null
!=
$profilDeCotisation
)
{
// TODO after merge 3569
// $montant = $profilDeCotisation->getMontant();
$montant
=
15
;
$montant
=
$profilDeCotisation
->
getMontant
();
}
else
{
$montant
=
intval
(
$this
->
em
->
getRepository
(
GlobalParameter
::
class
)
->
val
(
GlobalParameter
::
COTISATION_ADHERENT_DEFAULT
));
}
...
...
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