Skip to content

Commit

Permalink
Merge pull request #50 from Aar-if/newaltv1
Browse files Browse the repository at this point in the history
promotion field add
  • Loading branch information
Aar-if authored Mar 19, 2024
2 parents 8833b73 + 24191ee commit 1024e75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/admin/src/assets/images/FinalStudent.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
name,username,email,mobile,gender,dateOfBirth,board,password,status,className,religion,school_udise,caste,annual_income,mother_education,father_education,mother_occupation,father_occupation,No_of_siblings
Test,,,9999999999,Female ,1990-01-03,West Bengal,NA ,TRUE,Class 6,Hindu,12345678,General,668,,,,,
Testing,,,9999999999,Female ,1990-01-03,West Bengal,NA ,TRUE,Class 6,Muslim,12345678,General,668,,,,,
Tester,,,9999999999,Female ,1990-01-03,West Bengal,NA ,TRUE,Class 6,Christian,12345678,General,668,,,,,
name,username,email,mobile,gender,dateOfBirth,board,password,status,className,religion,school_udise,caste,annual_income,mother_education,father_education,mother_occupation,father_occupation,No_of_siblings,promotion
Test,retesttekdiwb600112121884,,9999999999,Female ,1990-01-03,West Bengal,NA ,TRUE,Class 7,Hindu,12345678,General,668,,,,,,,
1 change: 1 addition & 0 deletions packages/admin/src/components/StudentCSV.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function CSVImportForm() {
motherOccupation: studentData["mother_occupation"] || null,
fatherOccupation: studentData["father_occupation"] || null,
noOfSiblings: studentData["No_of_siblings"] || 0,
promotion: studentData["promotion"] || "",
};

requestData.students.push(studentObject);
Expand Down

0 comments on commit 1024e75

Please sign in to comment.