@if (Session::has('message'))
Success! {{ Session::get('message') }}
@endif
| Sr. No. |
Chapter Title |
Sub Chapter Title |
Course |
Type |
Free/Paid |
Chapter No. |
Action |
@php $i=0; @endphp
@foreach ($sub_chapter as $sub_chapter_data)
@php $i++;$type = $sub_chapter_data->chapter->chapter_type; @endphp
| {{ $i }} |
{{ $sub_chapter_data->chapter->title }} |
{{ $sub_chapter_data->title }} |
{{ $sub_chapter_data->chapter->course?->name }} |
{{ $sub_chapter_data->chapter->chapter_type_label }} |
@if ($sub_chapter_data->is_free==0)
Paid
@else
Free
@endif
|
Chapter {{ $sub_chapter_data->order_index }} |
@if (in_array($type, ['note', 'clinical_scenario']))
@else
@endif
|
@endforeach