|
@@ -226,6 +226,7 @@ class Reports extends Component
|
|
|
->orderBy('name')
|
|
->orderBy('name')
|
|
|
->get()
|
|
->get()
|
|
|
->map(function ($course) {
|
|
->map(function ($course) {
|
|
|
|
|
+ $type = null;
|
|
|
if (!empty($course->course_type_id)) {
|
|
if (!empty($course->course_type_id)) {
|
|
|
$type = \App\Models\CourseType::find($course->course_type_id);
|
|
$type = \App\Models\CourseType::find($course->course_type_id);
|
|
|
if ($type) {
|
|
if ($type) {
|