Skip to content

Commit

Permalink
test apply
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelMakarchuk committed Jan 16, 2025
1 parent 5265042 commit 59cf63e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# - name: Eligible person
# period: 2024
# input:
# pension_income: 4_800
# pr_low_income_credit_eligible: true
# output:
# pr_compensatory_low_income_credit: 300
- name: Eligible person
period: 2024
input:
pension_income: 4_800
pr_low_income_credit_eligible: true
output:
pr_compensatory_low_income_credit: 300

- name: Pension income above limit
period: 2024
Expand All @@ -14,10 +14,10 @@
output:
pr_compensatory_low_income_credit: 0

# - name: Not eligible for low income credit
# period: 2024
# input:
# pension_income: 4_800
# pr_low_income_credit_eligible: false
# output:
# pr_compensatory_low_income_credit: 0
- name: Not eligible for low income credit
period: 2024
input:
pension_income: 4_800
pr_low_income_credit_eligible: false
output:
pr_compensatory_low_income_credit: 0
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def formula(person, period, parameters):
period
).gov.territories.pr.tax.income.credits.low_income.amount
pension_income = person("pension_income", period)
return p.additional.calc(pension_income)
return p.additional.calc(pension_income, right=True)

0 comments on commit 59cf63e

Please sign in to comment.