feat(student): added parents field in signup
This commit is contained in:
@@ -37,6 +37,11 @@ export async function signupAction(data: StudentSignup) {
|
||||
middleName: student.middleName,
|
||||
lastName: student.lastName,
|
||||
mothersName: student.mothersName,
|
||||
mothersEmail: student.mothersEmail && student.mothersEmail.length ? student.mothersEmail : null,
|
||||
mothersPhone: student.mothersPhone && student.mothersPhone.length ? student.mothersPhone : null,
|
||||
fathersName: student.fathersName,
|
||||
fathersEmail: student.fathersEmail && student.fathersEmail.length ? student.fathersEmail : null,
|
||||
fathersPhone: student.fathersPhone && student.fathersPhone.length ? student.fathersPhone : null,
|
||||
gender: student.gender,
|
||||
dob: student.dob,
|
||||
personalGmail: student.personalGmail,
|
||||
|
||||
Reference in New Issue
Block a user