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

Add missing checkbox for api_impot_part_sandbox forms #658

Conversation

Isalafont
Copy link
Contributor

screencapture-localhost-3000-formulaires-api-impot-particulier-stationnement-residentiel-sandbox-demande-13-resume-2025-01-16-13_41_36 (1)

Copy link

linear bot commented Jan 16, 2025

  - add attributes data: { 'dpd_homologation_checkbox' => '1' } to api_impot_particulier_sandbox seeds
Copy link
Contributor

@jbfeldis jbfeldis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bien vu !

Copy link
Member

@skelz0r skelz0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cf mon unique com

app/lib/seeds.rb Outdated
@@ -53,7 +53,7 @@ def create_authorization_requests_for_clamart
authorization_request = create_submitted_authorization_request(:api_entreprise, attributes: { intitule: 'Place des entreprises', applicant: another_demandeur })
send_message_to_instructors(authorization_request, body: "Je ne suis pas sûr du cadre de cette demande, pouvez-vous m'aider ?")

create_validated_authorization_request(:api_impot_particulier_sandbox, attributes: { intitule: 'Demande de retraite progressive en ligne', applicant: demandeur })
create_validated_authorization_request(:api_impot_particulier_sandbox, attributes: { intitule: 'Demande de retraite progressive en ligne', applicant: demandeur, data: { 'dpd_homologation_checkbox' => '1' } })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourquoi ce n'est pas dans la factory ? Ce n'est pas le rôle des seeds de savoir comment construire une demande valide. Idem pour en dessous.

@skelz0r
Copy link
Member

skelz0r commented Jan 16, 2025

Y'a une question plus large ici d'ailleurs : cette checkbox est présente sur l'ensemble des demandes en sandbox mais pas en production. Toutes les autres data sont partagées, pourquoi pas celle là ? cc @SchweisguthN

@Isalafont Isalafont requested a review from skelz0r January 20, 2025 14:34
@skelz0r skelz0r merged commit dc0a123 into develop Jan 20, 2025
13 checks passed
@skelz0r skelz0r deleted the feature/dat-814-rajouter-la-checkbox-manquante-sur-les-formulaires-sandbox branch January 20, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants