Fix: Actualizado selector de año del calendario para mostrar 2026-2035
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form method="GET" class="d-flex gap-2 flex-wrap">
|
<form method="GET" class="d-flex gap-2 flex-wrap">
|
||||||
<select name="year" class="form-select" style="width: auto;" onchange="this.form.submit()">
|
<select name="year" class="form-select" style="width: auto;" onchange="this.form.submit()">
|
||||||
@php($years = range(date('Y'), date('Y') - 5))
|
@php($years = range(2035, 2026))
|
||||||
@foreach($years as $y)
|
@foreach($years as $y)
|
||||||
<option value="{{ $y }}" {{ $year == $y ? 'selected' : '' }}>{{ $y }}</option>
|
<option value="{{ $y }}" {{ $year == $y ? 'selected' : '' }}>{{ $y }}</option>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|||||||
Reference in New Issue
Block a user