Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
datajohnson committed Dec 28, 2023
1 parent a43c90e commit e9a4fd6
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@ const getters = {
},

assessedAmount(state, getters) {
console.log(state.assessment.study_months, getters.familyIncome, getters.threshold.income_cutoff);
console.log("FR", state.fundingRequest.status_id);
console.log(
getters.totalCosts,
getters.needRemaining,
state.baseRate,
getters.phaseOutRate,
getters.threshold.income_threshold
);

if (isUndefined(state.assessment.study_months) || getters.familyIncome >= getters.threshold.income_cutoff) return 0;
if (!(state.fundingRequest && [6, 7].includes(state.fundingRequest.status_id))) return 0;

Expand Down

0 comments on commit e9a4fd6

Please sign in to comment.