You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/backend/lib/db_helpers/case_manager.ts
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ interface paraInputProps {
17
17
exportasyncfunctioncreatePara(
18
18
para: paraInputProps,
19
19
db: KyselyDatabaseInstance,
20
-
case_manager_id: string,
20
+
case_manager_first_name: string,
21
21
from_email: string,
22
22
to_email: string,
23
23
env: Env
@@ -47,7 +47,7 @@ export async function createPara(
47
47
from_email,
48
48
to_email,
49
49
first_name,
50
-
case_manager_id,
50
+
case_manager_first_name,
51
51
env
52
52
);
53
53
}
@@ -62,21 +62,21 @@ export async function sendInviteEmail(
62
62
fromEmail: string,
63
63
toEmail: string,
64
64
first_name: string,
65
-
caseManagerName: string,
65
+
case_manager_first_name: string,
66
66
env: Env
67
67
): Promise<void>{
68
68
awaitgetTransporter(env).sendMail({
69
69
from: fromEmail,
70
70
to: toEmail,
71
-
subject: `Welcome to ${caseManagerName}'s classroom`,
71
+
subject: `Welcome to ${case_manager_first_name}'s classroom`,
72
72
text: `${first_name}, get set up for data collection with Compass`,
73
73
html: `Hi ${first_name}! <br/>
74
-
${caseManagerName} has added you as a staff member for their classroom in Compass. <br/>
74
+
${case_manager_first_name} has added you as a staff member for their classroom in Compass. <br/>
75
75
Compass is an all in one tool for collecting data for students’ IEP goals and empowering your classroom team to better assist students. <br/> <br/>
76
76
How does Compass work? <br/>
77
77
Compass will help you organize data collection for the students you work with and securely store the data you collect. <br/>
78
-
${caseManagerName} will add you to data collection tasks for specific student goals. Upon logging in, you’ll see which students you’re expected to collect data for.
79
-
Instructions from ${caseManagerName} will be available with each assignment. When you’re ready to begin, you’ll be able to collect and submit data and notes directly in the app. <br/><br/>
78
+
${case_manager_first_name} will add you to data collection tasks for specific student goals. Upon logging in, you’ll see which students you’re expected to collect data for.
79
+
Instructions from ${case_manager_first_name} will be available with each assignment. When you’re ready to begin, you’ll be able to collect and submit data and notes directly in the app. <br/><br/>
80
80
Getting started <br/>
81
81
To get set up with Compass, use the link below and log in with the email address you received this message at. <br/>
82
82
Thank you for the key role you play in improving student outcomes!`,
Copy file name to clipboardExpand all lines: src/backend/routers/para.ts
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,6 @@ export const para = router({
53
53
email,
54
54
req.ctx.env
55
55
);
56
-
57
56
returnpara;
58
57
59
58
// TODO: Logic for sending email to staff. Should email be sent everytime or only first time? Should staff be notified that they are added to a certain case manager's list?
0 commit comments