Added passportid to the table ; removed gender column from table
This commit is contained in:
@@ -250,7 +250,19 @@ const GroupTestReport = ({
|
||||
{showLevel && <Text style={customStyles.tableCell}>Level</Text>}
|
||||
</View>
|
||||
{studentsData.map(
|
||||
({ id, name, email, gender, date, result, level }, index) => (
|
||||
(
|
||||
{
|
||||
id,
|
||||
name,
|
||||
email,
|
||||
gender,
|
||||
date,
|
||||
result,
|
||||
level,
|
||||
passportId: studentPassportId,
|
||||
},
|
||||
index
|
||||
) => (
|
||||
<View
|
||||
style={[
|
||||
customStyles.tableRow,
|
||||
@@ -269,9 +281,8 @@ const GroupTestReport = ({
|
||||
</Text>
|
||||
<Text style={customStyles.tableCell}>{name}</Text>
|
||||
<Text style={customStyles.tableCell}>{email}</Text>
|
||||
<Text style={[customStyles.tableCell, { maxWidth: "48px" }]}>
|
||||
{gender}
|
||||
</Text>
|
||||
<Text style={customStyles.tableCell}>{studentPassportId}</Text>
|
||||
|
||||
<Text style={[customStyles.tableCell, { maxWidth: "64px" }]}>
|
||||
{date}
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user