@@ -988,6 +988,8 @@ class PracticeManagementController extends Controller
}
+ $patientsQuery->where('notes_total', '>', 0);
+
$patientsQuery->orderBy('notes_without_claiming_closed', 'DESC');
$patients = $patientsQuery->paginate(50);