mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 07:59:30 +00:00
Parents should be notified about test results
This commit is contained in:
@@ -173,8 +173,11 @@ class Test {
|
||||
mark
|
||||
);
|
||||
|
||||
const parents = await tr.student.getParents();
|
||||
|
||||
const email = new EmailBuilder()
|
||||
.addTo([ tr.student.getEmail() ])
|
||||
.addTo([ tr.student, ...parents ]
|
||||
.map(u => u.getEmail()))
|
||||
.setSubject('Stratos - Test result added')
|
||||
.setBody(
|
||||
'Your result has been added for ' +
|
||||
|
||||
Reference in New Issue
Block a user