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
1eb6c75d
Commit
1eb6c75d
authored
Jul 18, 2019
by
Laurent Lécluse
Browse files
Calcul automatique en fin de MAJ du taux HETD
parent
96cbba44
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin/actions/update-bdd.php
View file @
1eb6c75d
...
...
@@ -45,10 +45,12 @@ $schema->alter($ref, $ddlConfig, true);
$c
->
println
(
"
\n
"
.
'Mise à jour des séquences'
,
$c
::
COLOR_LIGHT_PURPLE
);
$schema
->
majSequences
(
$ref
);
$c
->
println
(
"
\n
"
.
'
M
ise à jour des données'
,
$c
::
COLOR_LIGHT_PURPLE
);
$c
->
println
(
"
\n
"
.
'
Contrôle et m
ise à jour des données'
,
$c
::
COLOR_LIGHT_PURPLE
);
$dataGen
=
new
DataGen
(
$oa
);
$dataGen
->
update
();
$c
->
println
(
''
);
$oa
->
migration
(
'post'
);
$c
->
println
(
''
);
\ No newline at end of file
$c
->
println
(
"
\n
"
.
'Mise à jour du point d\'indice pour les HETD'
,
$c
::
COLOR_LIGHT_PURPLE
);
$bdd
->
exec
(
'BEGIN OSE_FORMULE.UPDATE_ANNEE_TAUX_HETD; END;'
);
\ No newline at end of file
admin/src/BddAdmin/Schema.php
View file @
1eb6c75d
...
...
@@ -442,7 +442,7 @@ class Schema
if
(
$mode
!=
'drop'
&&
$autoExecute
)
{
// create ou alter
if
(
$this
->
logger
){
$this
->
logger
->
logTitle
(
'Compilation de tous les objets de la BDD'
);
$this
->
logger
->
logTitle
(
"
\n
"
.
'Compilation de tous les objets de la BDD'
);
}
if
(
empty
(
$this
->
compilerTout
())
&&
$this
->
logger
){
$this
->
logger
->
log
(
'Compilation effectuée avec succès.'
);
...
...
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