Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fredo): add mode_acceuil #297

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading