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

WIP: condition sur les colonnes #11129

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

WIP: condition sur les colonnes #11129

wants to merge 1 commit into from

Conversation

LeSim
Copy link
Member

@LeSim LeSim commented Dec 10, 2024

permet de conditionner

  • sur le département et les régions de tous les champs qui contiennent une adresse : adresse / siret / rna / rnf
  • sur le choix secondaire d une liste multiple
  • plus généralement sur toute colonne de type enum d'un champ.

Copy link

sentry-io bot commented Dec 10, 2024

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: app/models/condition_form.rb

Function Unhandled Issue
row_to_condition TypeError: no implicit conversion of nil into String (TypeError) Administrateurs::ConditionsC...
Event Count: 1
📄 File: app/models/logic.rb (Click to Expand)
Function Unhandled Issue
from_json TypeError: no implicit conversion of nil into String (TypeError) Administrateurs::ConditionsC...
Event Count: 1
---

Did you find this useful? React with a 👍 or 👎

@LeSim LeSim marked this pull request as draft December 10, 2024 09:27
@colinux
Copy link
Member

colinux commented Dec 10, 2024

ah trop bien, et Patrick des FV vient de me demande si on pouvait envisager de mettre du conditionnel / règles d'inéligibilité sur un sous-champ du siret, en l'occurence Entreprise forme juridique (la PR que je viens de merger l'ajoute en tant que jsonpath pour l'avoir dans les filtres et tableau instructeurs)

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.

2 participants