Skip to content

Commit

Permalink
rename Candidature en ligne into Candidat
Browse files Browse the repository at this point in the history
  • Loading branch information
laurinehu committed Jun 25, 2024
1 parent 9badfba commit 99b7b62
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions dbt/models/staging/stg_candidatures.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ select
except=["id", "date_mise_à_jour_metabase", "état", "motif_de_refus", "origine", "origine_détaillée"]) }},
{{ pilo_star(ref('stg_organisations'),
except=["id", "date_mise_à_jour_metabase", "ville", "code_commune", "type", "date_inscription", "total_candidatures", "total_membres", "total_embauches", "date_dernière_candidature"], relation_alias='org_prescripteur') }},
candidatures.id, -- noqa: aliasing.unique.column
candidatures.id,
struct.bassin_d_emploi as bassin_emploi_structure,
org_prescripteur.zone_emploi as bassin_emploi_prescripteur,
org_prescripteur.type as type_org_prescripteur,
Expand All @@ -22,10 +22,7 @@ select
then 'Motif "Autre" saisi sur les emplois'
else candidatures.motif_de_refus
end as motif_de_refus,
case
when candidatures.origine = 'Candidat' then 'Candidature en ligne'
else candidatures.origine
end as origine,
candidatures.origine,
case
when candidatures."origine_détaillée" = 'Prescripteur habilité Autre'
then 'Prescripteur habilité par habilitation préfectorale'
Expand Down

0 comments on commit 99b7b62

Please sign in to comment.