Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
b7ba6b8b
Commit
b7ba6b8b
authored
Feb 10, 2022
by
Laurent Lécluse
Browse files
divers
parent
c21b5c03
Changes
1
Hide whitespace changes
Inline
Side-by-side
module/Intervenant/src/Controller/StatutController.php
View file @
b7ba6b8b
...
...
@@ -39,15 +39,14 @@ class StatutController extends AbstractController
public
function
saisieAction
()
{
try
{
/** @var Statut $statut */
$statut
=
$this
->
getEvent
()
->
getParam
(
'statut'
);
$statut
=
$this
->
getEvent
()
->
getParam
(
'statut'
);
$form
=
$this
->
getFormStatutSaisie
();
$champsAutres
=
$this
->
getServiceDossierAutre
()
->
getList
();
if
(
empty
(
$statut
))
{
$title
=
'Création d\'un nouveau statut d\'intervenant'
;
$statut
=
$this
->
getServiceStatut
()
->
newEntity
();
$statut
->
setOrdre
(
$this
->
getServiceStatut
()
->
fetchMaxOrdre
()
+
1
);
}
else
{
$title
=
'Édition d\'un statut d\'intervenant'
;
}
...
...
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