Skip to content

Commit

Permalink
Tup 117 fix estadisticas compromiso de pago (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
facundomelgarejo authored Nov 14, 2024
2 parents 2e2bed4 + b6a5c05 commit 586d23d
Showing 1 changed file with 15 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,21 @@ const TablaAlumnos: React.FC<TablaAlumnosProps> = ({ fetchFunction, title }) =>
</Tr>
</Thead>
<Tbody>
{currentAlumnos.map(alumno => (
<Tr key={alumno.legajo}>
<Td>{alumno.full_name}</Td>
<Td>{alumno.legajo}</Td>
<Td>{alumno.dni}</Td>
<Td>{alumno.estado_financiero}</Td>
<Td>{alumno.anio_ingreso}</Td>
</Tr>
))}
{currentAlumnos.length === 0 ? (
<Tr>
<Td colSpan={5} textAlign="center">No se encontraron alumnos</Td>
</Tr>
) : (
currentAlumnos.map(alumno => (
<Tr key={alumno.legajo}>
<Td>{alumno.full_name}</Td>
<Td>{alumno.legajo}</Td>
<Td>{alumno.dni}</Td>
<Td>{alumno.estado_financiero}</Td>
<Td>{alumno.anio_ingreso}</Td>
</Tr>
))
) }
</Tbody>
</Table>

Expand Down

0 comments on commit 586d23d

Please sign in to comment.