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
05a8109f
Commit
05a8109f
authored
3 months ago
by
Antony Le Courtes
Browse files
Options
Downloads
Patches
Plain Diff
Corrections mineures vues sql
parent
a366c740
Branches
Branches containing commit
Tags
24.0-beta2
Tags containing commit
No related merge requests found
Pipeline
#35563
passed
3 months ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/ddl/view/V_EXPORT_PAIEMENT_INDEMNITES_SIHAM.sql
+5
-2
5 additions, 2 deletions
data/ddl/view/V_EXPORT_PAIEMENT_INDEMNITES_SIHAM.sql
data/ddl/view/V_EXPORT_SERVICE.sql
+2
-1
2 additions, 1 deletion
data/ddl/view/V_EXPORT_SERVICE.sql
with
7 additions
and
3 deletions
data/ddl/view/V_EXPORT_PAIEMENT_INDEMNITES_SIHAM.sql
+
5
−
2
View file @
05a8109f
...
...
@@ -36,7 +36,8 @@ SELECT
'1'
code_origine
,
i
.
id
intervenant_id
,
i
.
nom_usuel
||
','
||
i
.
prenom
nom
,
t
.
prime_id
prime_id
t
.
prime_id
prime_id
,
t
.
date_declaration
date_declaration
FROM
(
SELECT
...
...
@@ -50,7 +51,8 @@ FROM
SUM
(
hpm
.
total_paie
)
paie_mission
,
SUM
(
hpm
.
total_heures_a_payer
)
total_heures_a_payer
,
SUM
(
hpm
.
total_heures_payees
)
total_heures_payees
,
SUM
(
round
(
hpm
.
total_paie
*
0
.
1
,
2
))
montant_prime
SUM
(
round
(
hpm
.
total_paie
*
0
.
1
,
2
))
montant_prime
,
MAX
(
f
.
histo_creation
)
date_declaration
FROM
mission_prime
mp
JOIN
mission
m
ON
...
...
@@ -68,6 +70,7 @@ FROM
JOIN
periode
p
ON
p
.
ecart_mois
=
ROUND
(
MONTHS_BETWEEN
(
m
.
date_fin
,
a
.
date_debut
)
+
0
.
5
)
AND
p
.
enseignement
=
0
JOIN
fichier
f
ON
f
.
id
=
mp
.
declaration_id
and
f
.
histo_destruction
IS
NULL
WHERE
--Il faut impérativement une prime validée
mp
.
declaration_id
IS
NOT
NULL
...
...
This diff is collapsed.
Click to expand it.
data/ddl/view/V_EXPORT_SERVICE.sql
+
2
−
1
View file @
05a8109f
...
...
@@ -115,7 +115,8 @@ SELECT
0
heures
,
vhr
.
heures
heures_ref
,
0
heures_non_payees
,
CASE
WHEN
mnp
.
id
IS
NOT
NULL
THEN
1
ELSE
0
END
heures_non_payees
,
mnp
.
libelle_court
motif_non_paiement
,
t
.
libelle_court
tag
,
0
service_fi
,
...
...
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