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
91e9b74d
Commit
91e9b74d
authored
Jun 23, 2021
by
Laurent Lécluse
Browse files
Correction bug : on ne sync plus un EP de force si c'est pour le détruire
parent
ccd250c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
module/Application/src/Application/Controller/OffreFormation/ElementPedagogiqueController.php
View file @
91e9b74d
...
...
@@ -232,7 +232,8 @@ class ElementPedagogiqueController extends AbstractController
$saisie
=
$this
->
params
()
->
fromPost
(
'vhes'
);
$tis
=
$element
->
getTypesInterventionPossibles
();
$tis
=
$element
->
getTypesInterventionPossibles
();
$vhes
=
[];
foreach
(
$tis
as
$typeIntervention
)
{
if
(
!
isset
(
$existsVhes
[
$typeIntervention
->
getId
()]))
{
$vhe
=
$this
->
getServiceVolumeHoraireEns
()
->
newEntity
(
$element
,
$typeIntervention
);
...
...
module/Application/src/Application/Service/ElementPedagogiqueService.php
View file @
91e9b74d
...
...
@@ -434,7 +434,7 @@ where rang = 1
DECLARE
element_id NUMERIC;
BEGIN
unicaen_import.synchronisation('ELEMENT_PEDAGOGIQUE', 'WHERE code =''' || "
.
$c
->
quote
(
$code
)
.
" || ''' AND annee_id = ' || "
.
$annee
.
");
unicaen_import.synchronisation('ELEMENT_PEDAGOGIQUE', 'WHERE code =''' || "
.
$c
->
quote
(
$code
)
.
" || ''' AND
import_action <> ''delete'' AND
annee_id = ' || "
.
$annee
.
");
BEGIN
SELECT id INTO element_id FROM element_pedagogique ep WHERE code = "
.
$c
->
quote
(
$code
)
.
" AND ep.annee_id = "
.
$annee
.
" AND histo_destruction IS NULL;
...
...
Laurent Lécluse
@lecluse
mentioned in commit
61a11bfe
·
Jun 23, 2021
mentioned in commit
61a11bfe
mentioned in commit 61a11bfec2ec31a89cef6233ec52fab798bfb49b
Toggle commit list
Laurent Lécluse
@lecluse
mentioned in merge request
!61 (merged)
·
Jun 23, 2021
mentioned in merge request
!61 (merged)
mentioned in merge request !61
Toggle commit list
Laurent Lécluse
@lecluse
mentioned in commit
d1d3ff20
·
Jun 23, 2021
mentioned in commit
d1d3ff20
mentioned in commit d1d3ff20cfde20f62fd78e4855383a227f0cb4f2
Toggle commit list
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