master
cody 4 weeks ago
parent 790e9b7170
commit daa83ba3d9

@ -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[] = [

Loading…
Cancel
Save