fixed SearchDate

This commit is contained in:
2026-01-16 15:47:16 -06:00
parent 13fd1113ba
commit f859d4e8d8
7 changed files with 51 additions and 27 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ interface Recibo {
fecha_registro: string;
monto: string;
user: {
nombre: string;
usuario: string;
};
}
@@ -72,7 +72,7 @@ function PorRecibos({ desde, hasta }: Props) {
<tbody>
{!loading && recibos.length === 0 && (
<tr>
<td colSpan={2}>No hay recibos en este rango</td>
<td colSpan={5}>No hay recibos en este rango</td>
</tr>
)}
@@ -82,7 +82,7 @@ function PorRecibos({ desde, hasta }: Props) {
<td>${Number(recibo.monto).toFixed(2)}</td>
<td>{recibo.fecha_recibo}</td>
<td>{recibo.fecha_registro}</td>
<td>{recibo.user.nombre}</td>
<td>{recibo.user.usuario}</td>
</tr>
))}
</tbody>