Ver código fonte

Caremonth year options fix

Vijayakrishnan 3 anos atrás
pai
commit
39a90492b9
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      resources/views/app/patient/care-months.blade.php

+ 2 - 2
resources/views/app/patient/care-months.blade.php

@@ -90,9 +90,9 @@
                         <label class="text-secondary text-sm mb-1">Year *</label>
                         <select name="startYear" class="form-control form-control-sm" required>
                             <option value="">-- Start Year --</option>
-                            <option value="2020" {{ date('Y') === '2020' ? 'selected' : '' }}>2020</option>
+                            <option value="2021" {{ date('Y') === '2021' ? 'selected' : '' }}>2021</option>
                             @if(date('m') === '12')
-                                <option value="2021" {{ date('Y') === '2021' ? 'selected' : '' }}>2021</option>
+                                <option value="2022" {{ date('Y') === '2022' ? 'selected' : '' }}>2022</option>
                             @endif
                         </select>
                     </div>