From 08c30a30125a4bbd52f41b6b53a53217bc3d714b Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Wed, 26 Jun 2024 13:13:10 -0700 Subject: [PATCH] Update assessment-cslft-repository-v2.ts --- .../repositories/assessment/assessment-cslft-repository-v2.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/repositories/assessment/assessment-cslft-repository-v2.ts b/src/api/repositories/assessment/assessment-cslft-repository-v2.ts index 0fc037d9..b281697c 100644 --- a/src/api/repositories/assessment/assessment-cslft-repository-v2.ts +++ b/src/api/repositories/assessment/assessment-cslft-repository-v2.ts @@ -1142,6 +1142,8 @@ async function calculateFamilySize( hasParent2 = true; } + console.log("PARENT INFO", parentInfo, hasParent1, hasParent2) + family.total_dependants = 1 + parentDeps.length; family.csl_dependants = 1; family.post_secondary = parentDeps.filter((f: any) => f.is_attend_post_secondary).length + 1;