Skip to content

Commit

Permalink
feat(fredo): add mode_acceuil
Browse files Browse the repository at this point in the history
  • Loading branch information
hlecuyer authored and vmttn committed Sep 18, 2024
1 parent 34bcac0 commit 1af0ec7
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,13 @@ final AS (
CAST(NULL AS DATE) AS "date_creation",
CAST(NULL AS DATE) AS "date_suspension",
CAST(NULL AS BOOLEAN) AS "contact_public",
CAST(NULL AS TEXT []) AS "modes_accueil",
CASE
WHEN
fredo_structures.adresse IS NOT NULL
AND fredo_structures.code_postal IS NOT NULL
AND fredo_structures.commune IS NOT NULL THEN ARRAY['en-presentiel']
ELSE ARRAY['a-distance']
END AS "modes_accueil",
LEFT(fredo_structures.presentation_resume, 280) AS "presentation_resume",
fredo_structures.presentation_resume AS "presentation_detail",
CASE
Expand Down

0 comments on commit 1af0ec7

Please sign in to comment.