@@ -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(" *,