Programs
@if ($tieup_programs != null) @foreach ($tieup_programs as $index => $std) @scope('cell_id', $std) {{ $loop->iteration }} @endscope @scope('cell_category_id', $std) {{ $std->category->name }} - {{ $std->title }} @endscope {{-- Check category_id or category relationship --}} @scope('cell_selected_course_id', $std) @if (($std->category_id == 3 && $std->duration != 4) || in_array($std->category_id, [4, 5])) View Course @else View Course @endif @endscope @scope('cell_actions', $std)
@endscope @endforeach
@endif