<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Reporte de Ingresos y Gastos</title>
    <link rel="stylesheet" href="/styles.css"> <!-- Link to your CSS file -->
</head>
<body>
    <div class="reporte-container">
        <h1>Reporte de Ingresos y Gastos</h1>
        <p>Periodo consultado: <strong><%= fechaInicio %> a <%= fechaFin %></strong></p>
        <p>Total Ingresos: <strong>$<%= totalIngresos.toFixed(2) %></strong></p>
        <p>Total Gastos: <strong>$<%= totalGastos.toFixed(2) %></strong></p>
        <p>Balance: <strong>$<%= (totalIngresos - totalGastos).toFixed(2) %></strong></p>
        <a href="/operaciones">Volver a las operaciones</a>
    </div>
    <footer>
        <p>&copy; 2024 Jorge Melgarejo</p>
    </footer>
</body>
</html>