diff --git a/src/web/src/components/application/assessments/store/csg-part-time-dependent.js b/src/web/src/components/application/assessments/store/csg-part-time-dependent.js index 177d2848..7fa98145 100644 --- a/src/web/src/components/application/assessments/store/csg-part-time-dependent.js +++ b/src/web/src/components/application/assessments/store/csg-part-time-dependent.js @@ -197,7 +197,7 @@ const actions = { let familySize = 1; // Common-law or Married - if ([3, 4].includes(state.application.csl_classification)) familySize++; + if ([3].includes(state.application.csl_classification)) familySize++; if (store.getters.selectedStudent && isArray(store.getters.selectedStudent.dependent_info)) { dependentCount = store.getters.selectedStudent.dependent_info.filter( @@ -257,7 +257,7 @@ const actions = { let familySize = 1; // Common-law or Married - if ([3, 4].includes(state.application.csl_classification)) familySize++; + if ([3].includes(state.application.csl_classification)) familySize++; if (store.getters.selectedStudent && isArray(store.getters.selectedStudent.dependent_info)) { dependentCount = store.getters.selectedStudent.dependent_info.filter( diff --git a/src/web/src/components/application/assessments/store/csg-part-time.js b/src/web/src/components/application/assessments/store/csg-part-time.js index 6a51482c..add16b10 100644 --- a/src/web/src/components/application/assessments/store/csg-part-time.js +++ b/src/web/src/components/application/assessments/store/csg-part-time.js @@ -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; diff --git a/src/web/src/components/application/assessments/store/csl-part-time.js b/src/web/src/components/application/assessments/store/csl-part-time.js index 6d9b51af..aff24d93 100644 --- a/src/web/src/components/application/assessments/store/csl-part-time.js +++ b/src/web/src/components/application/assessments/store/csl-part-time.js @@ -255,7 +255,7 @@ const actions = { let familySize = 1; // Common-law or Married - if ([3, 4].includes(state.application.csl_classification)) familySize++; + if ([3].includes(state.application.csl_classification)) familySize++; if (store.getters.selectedStudent && isArray(store.getters.selectedStudent.dependent_info)) { dependentCount = store.getters.selectedStudent.dependent_info.filter( @@ -334,7 +334,7 @@ const actions = { let application = state.application; // Common-law or Married - if ([3, 4].includes(state.application.csl_classification)) familySize++; + if ([3].includes(state.application.csl_classification)) familySize++; if (store.getters.selectedStudent && isArray(store.getters.selectedStudent.dependent_info)) { dependentCount = store.getters.selectedStudent.dependent_info.filter(