Преглед изворни кода

Pro care month report - simple month picker

Vijayakrishnan пре 3 година
родитељ
комит
c1f3e5c25a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      resources/views/app/practice-management/care-month-report.blade.php

+ 1 - 1
resources/views/app/practice-management/care-month-report.blade.php

@@ -10,7 +10,7 @@
                     Care Month Report: {{date('M Y', strtotime($date))}}
                 </strong>
                 <div class="ml-auto">
-                    <input type="month" value="{{substr($date, 0, 7)}}" onchange="if(this.value){fastLoad('/pro-care-month-report?m=' + this.value.split('-')[1] + '&y=' + this.value.split('-')[0])}">
+                    <input type="month" value="{{substr($date, 0, 7)}}" max="{{substr(date('Y-m-d'), 0, 7)}}" onchange="if(this.value){fastLoad('/pro-care-month-report?m=' + this.value.split('-')[1] + '&y=' + this.value.split('-')[0])}">
                 </div>
             </div>