Skip to content

Commit

Permalink
No return trans in same city
Browse files Browse the repository at this point in the history
  • Loading branch information
datajohnson committed Jun 27, 2024
1 parent c1e589d commit f4f1cdd
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 f4f1cdd

Please sign in to comment.