Skip to content

Commit

Permalink
Déplace 4 variables de Openfisca-france vers openfisca-france-local
Browse files Browse the repository at this point in the history
variables utilisées uniquement dans l'aide locale adefip
  • Loading branch information
frtomas committed Jul 11, 2023
1 parent 6ba5735 commit e7ed6d5
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions openfisca_france_local/departements/eure_et_loir/adefip.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,35 @@ def formula(individu, period):
montant = individu('adefip_montant', period)

return montant * eligibilite

# données "nationales" mais utilisées uniquement dans l'aide adefip aujourd'hui
class cer_ou_ppae(Variable):
value_type = bool
entity = Individu
label = "Avoir un CER (Contrat d’engagement réciproque) et/ou un PPAE (Projet personnalisé d’accès à l’emploi) en cours"
definition_period = MONTH
set_input = set_input_dispatch_by_period


class formation(Variable):
value_type = bool
entity = Individu
label = "Etre en formation"
definition_period = MONTH
set_input = set_input_dispatch_by_period


class duree_contrat_ou_formation(Variable):
value_type = int
entity = Individu
label = "Durée en mois du CDD ou de la formation"
definition_period = MONTH
set_input = set_input_dispatch_by_period


class creation_ou_reprise_entreprise(Variable):
value_type = bool
entity = Individu
label = "Etre en création ou en reprise d'entreprise"
definition_period = MONTH
set_input = set_input_dispatch_by_period

0 comments on commit e7ed6d5

Please sign in to comment.