Skip to content

Commit

Permalink
fix childcare_received
Browse files Browse the repository at this point in the history
  • Loading branch information
7qiwx committed Feb 8, 2024
1 parent 28648eb commit 01c4db9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ class bc_disability_credit_additional_amount(Variable):

def formula(person, period, parameters):
p = parameters(period).gov.provinces.bc.tax.income.credits.disability
childcare_expenses = person(
"childcare_received", period
)
childcare_expenses = person("childcare_received", period)
reduced_childcare_expenses = max_(
0,
childcare_expenses
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from policyengine_canada.model_api import *


class childcare_received(Variable):
value_type = float
entity = Person
label = "Amount of Childcare received which was claimed by another person"
unit = CAD
definition_period = YEAR
value_type = float
entity = Person
label = "Amount of Childcare received which was claimed by another person"
unit = CAD
definition_period = YEAR

0 comments on commit 01c4db9

Please sign in to comment.