2025-09-28 01:59:16 -06:00
|
|
|
import Information from "../Global/Information/information";
|
2026-02-16 18:16:04 -06:00
|
|
|
import ApplySanction from "./ApplySanction";
|
2025-09-28 01:59:16 -06:00
|
|
|
|
|
|
|
|
interface Student {
|
2025-09-29 15:37:56 -06:00
|
|
|
id_cuenta: string;
|
|
|
|
|
nombre: string;
|
2025-10-14 14:27:03 -06:00
|
|
|
credito?: number;
|
2025-09-28 01:59:16 -06:00
|
|
|
}
|
|
|
|
|
|
2025-10-14 14:27:03 -06:00
|
|
|
export default function Sanciones({ student }: { student?: Student }) {
|
|
|
|
|
const idCuenta = student?.id_cuenta ?? null;
|
2025-09-28 01:59:16 -06:00
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<>
|
2025-10-14 14:27:03 -06:00
|
|
|
{student && (
|
2025-09-29 15:37:56 -06:00
|
|
|
<>
|
2025-10-14 14:27:03 -06:00
|
|
|
<Information NoCuenta={student.id_cuenta} Nombre={student.nombre} />
|
2026-02-16 18:16:04 -06:00
|
|
|
<ApplySanction idCuenta={parseInt(student.id_cuenta)} />
|
2025-09-29 15:37:56 -06:00
|
|
|
</>
|
2025-09-28 01:59:16 -06:00
|
|
|
)}
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
}
|
2025-10-14 14:27:03 -06:00
|
|
|
//
|