This commit is contained in:
Harikrishnan Gopal
2025-01-28 00:40:45 +05:30
2 changed files with 11 additions and 5 deletions

View File

@@ -72,7 +72,7 @@
} }
/* Adjusting list styles for better grid integration */ /* Adjusting list styles for better grid integration */
.courseFormSuggestions, .courseFormTempList { .courseFormSuggestions {
list-style: none ; list-style: none ;
padding: 0 ; padding: 0 ;
width: 100% ; width: 100% ;

View File

@@ -106,6 +106,12 @@ const CourseConsolidated = () => {
"Oral/Practical Teacher", "Oral/Practical Teacher",
"Contact Number", "Contact Number",
]) || []), ]) || []),
...(courseData.assessmentTeachers?.map((teacher) => [
teacher,
"K. J. Somaiya School of Engineering",
"Reassessment Teacher",
"Contact Number",
]) || []),
...(courseData.reassessmentTeachers?.map((teacher) => [ ...(courseData.reassessmentTeachers?.map((teacher) => [
teacher, teacher,
"K. J. Somaiya School of Engineering", "K. J. Somaiya School of Engineering",
@@ -157,7 +163,7 @@ const CourseConsolidated = () => {
autoTable(doc, { autoTable(doc, {
body: detailsTableData, body: detailsTableData,
startY: doc.previousAutoTable.finalY + 10, startY: doc.previousAutoTable.finalY + 10,
theme: "plain", // Plain table style theme: "grid", // Plain table style
styles: { textColor: [0, 0, 0] }, styles: { textColor: [0, 0, 0] },
}); });
@@ -288,10 +294,10 @@ const CourseConsolidated = () => {
)} )}
</td> </td>
<td> <td>
{row.assesmentTeachers && {row.assessmentTeachers &&
row.assesmentTeachers.length > 0 ? ( row.assessmentTeachers.length > 0 ? (
<ul style={{ margin: 0, paddingLeft: "20px" }}> <ul style={{ margin: 0, paddingLeft: "20px" }}>
{row.assesmentTeachers.map((teacher, idx) => ( {row.assessmentTeachers.map((teacher, idx) => (
<li key={idx}>{teacher}</li> <li key={idx}>{teacher}</li>
))} ))}
</ul> </ul>