Skip to content

Commit

Permalink
Merge pull request #274 from icefoganalytics/test
Browse files Browse the repository at this point in the history
No return trans in same city
  • Loading branch information
datajohnson authored Jun 27, 2024
2 parents 9ab2585 + f4f1cdd commit 5feeaf9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,12 @@ export class AssessmentCslftRepositoryV2 {
if (assess.study_weeks >= 16) returnTransTot = returnTrans * 2;
}

// if study and prestudy are the same place, you don't get the return trans
if (this.application.prestudy_city_id == this.application.study_city_id) {
returnTrans = 0;
returnTransTot = 0;
}

let costsCapped = [];
assess.shelter_month =
this.livingAllowance.shelter_amount + this.livingAllowance.food_amount + this.livingAllowance.misc_amount;
Expand Down

0 comments on commit 5feeaf9

Please sign in to comment.