@if (!is_null($lead->student_id))
Test
@if (!$testBookingRequests->count())

No tests found for this lead.

@else @foreach ($testBookingRequests as $booking) @endforeach
Date Notes
{{ \Carbon\Carbon::parse($booking->date)->format('d M Y H:i') }} {{ $booking->notes ?: ' ' }}
@endif
@if (!$getTestStudentCourseData->count())

No tests found for this lead.

@else @foreach ($getTestStudentCourseData as $testCourse) @endforeach
Course Name Start Date End Date status
{{ $testCourse->course_name_en }} {{ $testCourse->start_date }} {{ $testCourse->end_date }} {{ $testCourse->status }}
@endif
@endif