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 committed Sep 18, 2024
1 parent 2352e34 commit 380812f
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 380812f

Please sign in to comment.