|
|
|
@ -134,7 +134,6 @@ class OtherController extends CommonController
|
|
|
|
// ->where('start_date', '<=', $end_date)
|
|
|
|
// ->where('start_date', '<=', $end_date)
|
|
|
|
// ->where('start_date', '>=', $start_date)
|
|
|
|
// ->where('start_date', '>=', $start_date)
|
|
|
|
->get();
|
|
|
|
->get();
|
|
|
|
dump($courses->pluck('id')->toArray());
|
|
|
|
|
|
|
|
// 被投企业数
|
|
|
|
// 被投企业数
|
|
|
|
$list['course_signs_invested'] = CourseSign::yhInvested($start_date, $end_date);
|
|
|
|
$list['course_signs_invested'] = CourseSign::yhInvested($start_date, $end_date);
|
|
|
|
// 报名人数
|
|
|
|
// 报名人数
|
|
|
|
@ -161,7 +160,6 @@ class OtherController extends CommonController
|
|
|
|
// ->where('start_date', '<=', $end_date)
|
|
|
|
// ->where('start_date', '<=', $end_date)
|
|
|
|
// ->where('start_date', '>=', $start_date)
|
|
|
|
// ->where('start_date', '>=', $start_date)
|
|
|
|
->get();
|
|
|
|
->get();
|
|
|
|
dump($courses2->pluck('id')->toArray());
|
|
|
|
|
|
|
|
foreach ($courses2 as $course) {
|
|
|
|
foreach ($courses2 as $course) {
|
|
|
|
$courseTypesSum[] = [
|
|
|
|
$courseTypesSum[] = [
|
|
|
|
'course_type' => $courseType->name,
|
|
|
|
'course_type' => $courseType->name,
|
|
|
|
|