Fix minore rate contrattuali

This commit is contained in:
Pek5892 2023-01-10 12:40:08 +01:00
parent 81a5628301
commit d91da34227
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ echo
<div class="col-md-2 col-md-offset-9">
<select class="form-control select-input openstamanager-input superselect select-year">';
for ($i=intval(date('Y')); $i<=intval(date('Y')) + 10; $i++) {
$selectType = ($i == date('m'))? "selected" : "";
for ($i=intval(date('Y')) -1; $i<=intval(date('Y')) + 10; $i++) {
$selectType = ($i == date('Y'))? "selected" : "";
echo
'<option value="' . $i . '" ' . $selectType . '>' . $i . '</option>';
}