Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
OSE
Commits
fbc8f8a9
Commit
fbc8f8a9
authored
1 year ago
by
Laurent Lecluse
Browse files
Options
Downloads
Patches
Plain Diff
Bug contrats missions avec des heures réalisées
parent
c11c68ac
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/ddl/view/V_TBL_CONTRAT.sql
+2
-1
2 additions, 1 deletion
data/ddl/view/V_TBL_CONTRAT.sql
with
2 additions
and
1 deletion
data/ddl/view/V_TBL_CONTRAT.sql
+
2
−
1
View file @
fbc8f8a9
...
...
@@ -36,7 +36,7 @@ WITH t AS (
/*@ANNEE_ID=i.annee_id*/
AND
NOT
(
si
.
contrat
=
0
AND
evh
.
code
=
'valide'
)
UNION
UNION
ALL
SELECT
m
.
annee_id
annee_id
,
...
...
@@ -48,6 +48,7 @@ WITH t AS (
FROM
tbl_mission
m
LEFT
JOIN
volume_horaire_mission
vhm
ON
vhm
.
mission_id
=
m
.
mission_id
AND
vhm
.
histo_destruction
IS
NULL
JOIN
type_volume_horaire
tvh
ON
tvh
.
id
=
vhm
.
type_volume_horaire_id
AND
tvh
.
code
=
'PREVU'
JOIN
V_VOLUME_HORAIRE_MISSION_ETAT
vvhme
ON
vvhme
.
volume_horaire_mission_id
=
vhm
.
id
JOIN
etat_volume_horaire
evh
ON
evh
.
id
=
vvhme
.
etat_volume_horaire_id
AND
evh
.
code
IN
(
'valide'
,
'contrat-edite'
,
'contrat-signe'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment