master
cody 3 months ago
parent f303735bf0
commit 36da8820b1

@ -140,6 +140,7 @@ class OtherController extends CommonController
$list['course_signs_total'] = CourseSign::whereDate('created_at', '>=', $start_date)
->whereDate('created_at', '<=', $end_date)
->whereNotIn('status', [4, 5])
->distinct('user_id')
// ->where(function ($query) use ($courses) {
// $query->whereIn('course_id', $courses->pluck('id'));
// })

Loading…
Cancel
Save