Change starting year to 2025 in luz_camara

This commit is contained in:
2026-02-22 13:58:44 -06:00
parent 09dd6f3949
commit e2d8a4d229

View File

@@ -16,7 +16,7 @@ $periods = ElectricityBill::getPeriods();
<label for="yearSelect" class="form-label me-2">Año:</label> <label for="yearSelect" class="form-label me-2">Año:</label>
<select id="yearSelect" class="form-select d-inline-block" style="width: auto;" <select id="yearSelect" class="form-select d-inline-block" style="width: auto;"
onchange="window.location.href='dashboard.php?page=luz_camara&year='+this.value"> onchange="window.location.href='dashboard.php?page=luz_camara&year='+this.value">
<?php for ($y = 2024; $y <= date('Y') + 1; $y++): ?> <?php for ($y = 2025; $y <= date('Y') + 1; $y++): ?>
<option value="<?= $y?>" <?= $y == $year ? 'selected' : ''?>> <option value="<?= $y?>" <?= $y == $year ? 'selected' : ''?>>
<?= $y?> <?= $y?>
</option> </option>