diff --git a/src/pages/(admin)/BatchCreateUser.tsx b/src/pages/(admin)/BatchCreateUser.tsx index a1d9b856..4453bead 100644 --- a/src/pages/(admin)/BatchCreateUser.tsx +++ b/src/pages/(admin)/BatchCreateUser.tsx @@ -104,7 +104,7 @@ export default function BatchCreateUser({user}: {user: User}) { const information = uniqBy( rows .map((row) => { - const [firstName, lastName, country, passport_id, email, phone, group, studentID, corporate] = row as string[]; + const [firstName, lastName, studentID, passport_id, email, phone, corporate, group, country] = row as string[]; const countryItem = countryCodes.findOne("countryCode" as any, country.toUpperCase()) || countryCodes.all().find((x) => x.countryNameEn.toLowerCase() === country.toLowerCase()); @@ -179,13 +179,13 @@ export default function BatchCreateUser({user}: {user: User}) { First Name Last Name - Country + Student ID Passport/National ID E-mail Phone Number - Group Name - Student ID {user?.type !== "corporate" && Corporate (e-mail)} + Group Name + Country