-
Notifications
You must be signed in to change notification settings - Fork 101
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
Condition d'âge pour l'ASS #1181
Conversation
@@ -229,27 +229,33 @@ class ass_eligibilite_individu(Variable): | |||
definition_period = MONTH | |||
|
|||
def formula(individu, period): | |||
sous_age_limite = individu('age_en_mois', period) <= 789 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Les paramètres législatifs tels que 789 doivent être mis dans parameters
. Et je ne comprends pas très bien le 789 ;-) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est 65 ans et 9 mois, j'ai introduit un paramètre.
|
||
def formula_2017_01_01(individu, period): | ||
sous_age_limite = individu('age_en_mois', period) <= 789 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem
@@ -229,27 +229,33 @@ class ass_eligibilite_individu(Variable): | |||
definition_period = MONTH | |||
|
|||
def formula(individu, period): | |||
sous_age_limite = individu('age_en_mois', period) <= 789 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Les paramètres législatifs tels que 789 doivent être mis dans parameters
. Et je ne comprends pas très bien le 789 ;-) ?
|
||
def formula_2017_01_01(individu, period): | ||
sous_age_limite = individu('age_en_mois', period) <= 789 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem
@benjello Up ? Est-ce que c'est OK maintenant ? |
Je préfère classer les formules par ordre chronologique décroissant et donc mettre les plus récentes en haut. C'est orthogonal à ta PR. Mais sinon cela me va. Je vais donc approuver. |
ffc123e
to
dfb9a7b
Compare
prestations_sociales/ass
.Fixes #791
Ces changements (effacez les lignes ne correspondant pas à votre cas) :
Quelques conseils à prendre en compte :
setup.py
.CHANGELOG.md
.Et surtout, n'hésitez pas à demander de l'aide ! :)