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

Ajoute l'exclusion des cas particuliers dans le calcul de la base ressource patrimoine #975

Merged
merged 6 commits into from
May 3, 2018

Conversation

frtomas
Copy link
Contributor

@frtomas frtomas commented Apr 26, 2018

  • Évolution du système socio-fiscal.
  • Périodes concernées : à partir du 01/10/2016.
  • Zones impactées : prestations/
  • Détails :
    • Ajoute l'exclusion des cas particuliers dans le calcul des ressources prises en compte pour l'aide logement (AAH, AEEH, logement foyer)

Ces changements :

  • Corrigent ou améliorent un calcul déjà existant.

@frtomas frtomas requested a review from guillett April 26, 2018 12:27
@guillett
Copy link
Member

Bonjour et merci @frtomas, aurais-tu des éléments législatifs concernant ces modifications ?

famille_percoit_aah = famille.any(membres_famille_percoit_aah)
famille_percoit_aeeh = famille('aeeh', period) > 0

return not_(est_locataire_foyer) * not_(famille_percoit_aah) * not_(famille_percoit_aeeh) *\
Copy link
Member

Choose a reason for hiding this comment

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

Il me semle plus judicieux d'utiliser plus de parenthèses plutôt que \

famille_percoit_aeeh = famille('aeeh', period) > 0

return not_(est_locataire_foyer) * not_(famille_percoit_aah) * not_(famille_percoit_aeeh) *\
(patrimoine > 30000) * (
Copy link
Member

Choose a reason for hiding this comment

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

La valeur 30000 est un paramètre de la législation qui doit être renseigné comme tel et ne pas être inscrit en dur.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Merci de ces retours, les deux corrections sont faites.

@frtomas
Copy link
Contributor Author

frtomas commented Apr 27, 2018

Bonjour @guillett , la seule référence qui m'a été fournit est cette note explicative, qui est effectivement officielle, mais qui n'a peut être pas de valeur juridique
http://www.cohesion-territoires.gouv.fr/IMG/pdf/160923_edl_apl_detailles_patrimoine.pdf

Cela suffit-il ? Si oui, je l'ajouterai en référence une fois que j'aurais fini de traiter le reste des retours.

Copy link
Member

@guillett guillett left a comment

Choose a reason for hiding this comment

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

Encore merci. J'ai fait quelques remarques supplémentaire.

Pour les références, je me dit qu'un commentaire reprenant le texte serait bien en identifiant la source comme tu veux.

@@ -0,0 +1,6 @@
description: Seuil de l'estimation de la valeur du patrimoine au delà duquel le patrimoine est valorisé
reference: https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000033243725&categorieLien=id
Copy link
Member

Choose a reason for hiding this comment

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

CHANGELOG.md Outdated
* Évolution du système socio-fiscal.
* Périodes concernées : à partir du 01/10/2016.
* Zones impactées :
- `prestations/`
Copy link
Member

Choose a reason for hiding this comment

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

prestations/aides_logement

famille_percoit_aah = famille.any(membres_famille_percoit_aah)
famille_percoit_aeeh = famille('aeeh', period) > 0

seuil_valorisation = parameters(period).prestations.aides_logement.patrimoine.seuil_valorisation
Copy link
Member

Choose a reason for hiding this comment

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

👍

@frtomas
Copy link
Contributor Author

frtomas commented Apr 27, 2018

Ok @guillett j'ai fait les ajustements nécessaires et j'ai ajouté la référence.

Copy link
Member

@guillett guillett left a comment

Choose a reason for hiding this comment

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

Merci beaucoup @frtomas pour les différentes modifications !

J'ai remplacé ton commit de merge par un rebase.

J'attends le passage des tests et je merge.

@guillett guillett merged commit bfcc62d into master May 3, 2018
@guillett guillett deleted the msa_patrimoine branch May 3, 2018 06:41
@frtomas
Copy link
Contributor Author

frtomas commented May 3, 2018

Merci @guillett , j'avais oublié que depuis github c’était un merge et non un rebase qui était fait.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contrib:msa Identification des sujets MSA kind:evolution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants