@foreach($enroll as $enrol)
@if($enrol->course_id != NULL)
@if($enrol->status == 1)
@if($enrol->user_id == Auth::User()->id)
@endif
@endif
@endif
@endforeach
@if($enrol->courses['preview_image'] !== NULL && $enrol->courses['preview_image'] !== '')
@else
@endif
{{ str_limit($enrol->courses->title, $limit = 35, $end = '...') }}
Get admission in trial batch.
@php $cid=$enrol->course_id; $cor=App\Course::where('id', $cid)->get(); @endphp @foreach($cor as $c) view details @endforeach