feat(student): added parents field in signup

This commit is contained in:
Unchanted
2025-09-02 16:27:21 +05:30
parent 6bcc5ee434
commit 051d68f565
6 changed files with 345 additions and 88 deletions

View File

@@ -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,