Contrôle a posteriori : Accepter automatiquement les critères administratifs certifiés - #6252
Merged
Merged
Conversation
|
🥁 La recette jetable est prête ! 👉 Je veux tester cette PR ! |
francoisfreitag
force-pushed
the
ff/cap
branch
3 times, most recently
from
July 17, 2025 11:45
e80bbef to
1a77697
Compare
xavfernandez
approved these changes
Jul 21, 2025
| criteria_certified=True, | ||
| ) | ||
| ) | ||
| # TODO: For the 2026 campaign on auto-prescriptions |
xavfernandez
approved these changes
Jul 22, 2025
Facilitate reusing the badge in multiple places.
When a criterion is certified, it does not need verification by the DDETS. When the evaluation campaign starts, all certified criteria are added as an accepted evaluated administrative criteria. If these criteria are enough for all selected job applications to be accepted, the evaluated SIAE is immediately set to accepted, and the SIAE isn’t even notified of the control: they have nothing to do.
There’s no need to load the full object by PK from the DB if we’re only interested in its PK.
That form can only be displayed to labor inspectors, during the campaign. The page becomes accessible to both employers and labor inspectors after the evaluation campaign is final.
Otherwise, the SIAE does not even know it has been evaluated.
francoisfreitag
enabled auto-merge
July 22, 2025 13:03
francoisfreitag
added this pull request to the merge queue
Jul 22, 2025
1 similar comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 Pourquoi ?
Éviter du travail en double pour les SIAE et les DDETS.
🍰 Comment ?
Noter sur chaque critère s’il est certifié à la création de la campagne, et le passer au statut accepté le cas échéant.
🏝️ Comment tester ?
💻 Captures d'écran