Browse Source

fixed rm action report

= 3 years ago
parent
commit
ab6f715df6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/PracticeManagementController.php

+ 1 - 1
app/Http/Controllers/PracticeManagementController.php

@@ -2458,7 +2458,7 @@ ORDER BY c.name_last, c.name_first
             $careMonthStartDate = '2022-01-01';
         }
 
-        $lastDateOfMonth = new DateTime(date("Y-m-t", strtotime($careMonthStartDate)));
+        $lastDateOfMonth = new DateTime(date("Y-m-t", strtotime(get_current_date())));
         $today = new DateTime(get_current_date());
         $diff = $lastDateOfMonth->diff($today);
         $daysBetweenNowAndEndmonth = $diff->days;