Skip to content

Commit

Permalink
Merge pull request #898 from DTS-STN/142117-residence
Browse files Browse the repository at this point in the history
142117 - updating input age for widow
  • Loading branch information
MarcoGoC authored Sep 26, 2023
2 parents ae515d6 + b3c8aa4 commit da54c97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions utils/api/benefitHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ export class BenefitHandler {
),
}

consoleDev('#1 oasDefer', this.rawInput.oasDeferDuration)

const partnerInput: ProcessedInput = {
income: incomeHelper,
age: this.rawInput.partnerAge,
Expand Down Expand Up @@ -1452,8 +1450,6 @@ export class BenefitHandler {
allResults.client.alws.cardDetail = clientAlws.cardDetail
}

consoleDev('allResults', allResults)

// All done!
return allResults
}
Expand Down
2 changes: 1 addition & 1 deletion utils/api/futureHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class FutureHandler {
// No future benefits if 65 or over AND years in Canada already meets residency criteria
if (age >= 65 && yearsInCanada >= residencyReq) return result

const eliObjOas = OasEligibility(Math.floor(age), yearsInCanada)
const eliObjOas = OasEligibility(age, yearsInCanada)
const oasAge = eliObjOas.ageOfEligibility

const eliObjAlws = AlwsEligibility(Math.floor(age), yearsInCanada)
Expand Down

0 comments on commit da54c97

Please sign in to comment.