فهرست منبع

fixed note activity report

= 3 سال پیش
والد
کامیت
faccde6c6b
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      app/Http/Controllers/PracticeManagementController.php

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

@@ -823,7 +823,9 @@ class PracticeManagementController extends Controller
 
         $now = Carbon::now();
         $startOfCurrentMonth = $now->startOfMonth('Y-m-d');
-        $endOfCurrentMonth = $now->endOfMonth()->format('Y-m-d');
+        $startOfCurrentMonth = $startOfCurrentMonth->toDateString();
+
+        $endOfCurrentMonth  = $now->endOfMonth()->format('Y-m-d');
 
         $rows = DB::table('pro')
         ->selectRaw(" *,