Change starting year to 2025 in luz_camara
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user