Skip to content

Commit

Permalink
Migration: API Particulier almost OK
Browse files Browse the repository at this point in the history
  • Loading branch information
skelz0r committed May 22, 2024
1 parent 38dd07b commit eb18349
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ def affect_data
affect_contacts
cadre_juridique_present = affect_potential_legal_document

return if authorization_request.filling? || authorization_request.archived?

skip_row!(:cadre_juridique_manquant) unless cadre_juridique_present
skip_row!(:duree_conservation_donnees_caractere_personne_manquante) if authorization_request.duree_conservation_donnees_caractere_personnel.blank?
skip_row!(:justification_duree_conservation_manquante) if authorization_request.duree_conservation_donnees_caractere_personnel > 36 && authorization_request.duree_conservation_donnees_caractere_personnel_justification.blank?
Expand Down

0 comments on commit eb18349

Please sign in to comment.