@ -159,6 +159,7 @@ class OtherController extends CommonController
$courses2 = Course::where('type', $courseType->id)
// ->where('start_date', '<=', $end_date)
// ->where('start_date', '>=', $start_date)
->whereIn('id', $courses->pluck('id'))
->get();
foreach ($courses2 as $course) {
$courseTypesSum[] = [