Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jdev
jdev-boarding
Commits
307bef16
Commit
307bef16
authored
Jun 18, 2020
by
Sandrine Sabatié
Browse files
Replace DashboardParticipantPresenceAction.php
parent
9212eff5
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/Action/DashboardParticipantPresenceAction.php
View file @
307bef16
...
...
@@ -62,11 +62,11 @@ final class DashboardParticipantPresenceAction
}
if
(
$pa
[
0
]
->
getAgenda
()
->
getCodeFormation
()
==
$codeFormation
)
{
$pa
[
0
]
->
setPresent
(
true
);
$a
[
'confirm'
]
=
'Votre présence vient d\'être confirmé pour la formation '
.
$pa
[
0
]
->
getAgenda
()
->
getFormation
()
->
getNom
();
$a
[
'confirm'
]
=
'Votre présence vient d\'être confirmé
e
pour la formation '
.
$pa
[
0
]
->
getAgenda
()
->
getFormation
()
->
getNom
();
$this
->
em
->
persist
(
$pa
[
0
]);
$this
->
em
->
flush
();
}
else
{
$a
[
'confirm'
]
=
'Erreur de session ou de code de formation. Votre présence n\'a pas pu être validé'
;
$a
[
'confirm'
]
=
'Erreur de session ou de code de formation. Votre présence n\'a pas pu être validé
e
'
;
}
}
else
{
$a
[
'confirm'
]
=
'Le formulaire doit être rempli'
;
...
...
Write
Preview
Supports
Markdown
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