Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
9040954a
Commit
9040954a
authored
Jun 18, 2021
by
Laurent Lécluse
Browse files
Meilleur rafraichissement de la feuille de route suite à la completion des données personnelles
parent
02e0ebb2
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
9040954a
...
...
@@ -22,7 +22,7 @@ Objectif : Connecteur Export OSE => Logiciel RH + import Actul+
## Correction de bug
*
Inversion d'affichage Fi et Fa dans administration > type de ressources (#38510)
*
Meilleur rafraichissement de la feuille de route suite à la completion des données personnelles
...
...
module/Application/src/Application/Controller/IntervenantDossierController.php
View file @
9040954a
...
...
@@ -319,6 +319,7 @@ class IntervenantDossierController extends AbstractController
{
$this
->
getServiceWorkflow
()
->
calculerTableauxBord
([
'dossier'
,
'service_saisie'
,
'piece_jointe_demande'
,
],
$intervenant
);
}
...
...
module/Application/src/Application/Service/WorkflowService.php
View file @
9040954a
...
...
@@ -242,7 +242,7 @@ class WorkflowService extends AbstractService
$iid
=
$intervenant
->
getId
();
$sid
=
$structure
?
$structure
->
getId
()
:
0
;
if
(
!
isset
(
$this
->
feuillesDeRoute
[
$iid
][
$sid
]))
{
if
(
true
||
!
isset
(
$this
->
feuillesDeRoute
[
$iid
][
$sid
]))
{
$wie
=
$this
->
getEtapes
(
$intervenant
,
$structure
);
$this
->
feuillesDeRoute
[
$iid
][
$sid
]
=
[];
...
...
@@ -382,6 +382,18 @@ class WorkflowService extends AbstractService
}
}
/* Mise à jour des entités */
if
(
array_key_exists
(
$intervenant
->
getId
(),
$this
->
feuillesDeRoute
))
{
foreach
(
$this
->
feuillesDeRoute
[
$intervenant
->
getId
()]
as
$fdr
)
{
foreach
(
$fdr
as
$etp
)
{
/** @var $etp WorkflowEtape */
foreach
(
$etp
->
getEtapes
()
as
$etape
)
{
$this
->
getEntityManager
()
->
refresh
(
$etape
);
}
}
}
}
return
$errors
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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