SimpleDialog React
SimpleDialog React
DialogProps={{
className: dialogStyle
}}
open={true}
closeOnClickOut={false}
title={`${intl.formatMessage({ id: 'Attendance-Pattern' })}: ${aidYear}`}
// Properties applied to the dialog's internal Paper element.
PaperProps={listDialogPaperPropsStyle}
>
<Paper key={`${customId}_paper`} className={tablePaperStyle}>
<Table
stickyHeader
rowSelectionEnabled={true}
>
<TableHead>
<TableRow className={allListStyle}>
<TableCell className={allListTableCell}></TableCell>
{tableHeaders.map((header, index) => (
<TableCell className={allListTableCell}
key={index}>{intl.formatMessage({ id: header })}</TableCell>
))}
</TableRow>
</TableHead>
<TableBody>{tableData.map((row, index) => tableRow(index,
row))}</TableBody>
</Table>
</Paper>
</SimpleDialog>
Update-Multiple-AP
{showCheckBox && (
<TableCell component="th" scope="row"
columnName={'checkBox'}>
<span>
<Checkbox
checked={isChecked}
id={`${customId}_CheckboxB_${index}`}
onChange={(e) => {
handleCheckBoxChange(e, index);
}}
value={isChecked}
inputProps={{
'aria-label': 'Checked B'
}}
/>
</span>
</TableCell>
)}
`${applicationManagementApiUrl}/${encodeURIComponent(tenantId)}/studentAttendancePa
tterns`,
"AidApplicants_Header_AcademicCalendar"
AidApplicants_Header_Disbursements
AidApplicants_Header_AidPeriods
AidApplicants_Header_Description
AidApplicants_Header_Code
jest.mock('service/aidApplicantApiService');
aidApplicantApiService.getAidApplicants.mockResolvedValue(apiSuccessResponse);
{
aidYear: 2024,
studentId: 123456,
attendancePatternCode: 'sp01',
description: 'fall02'
acdameciCalender: 'calender1',
aidPeriods : [
]