@if(isset($MyPermissionPage["Course"])) @if(($MyPermissionPage["Course"]->add == 1 && $data['edit']== 0) ||($MyPermissionPage["Course"]->edit == 1 && $data['edit']== 1)) @extends("layouts.app") @section("title") @php $tablename="CourseForm" @endphp Course Forms @endsection @section("content") {{-- ---------------------------------------------------- table 1 html -------------------------------------------------- --}} @php $tableNo=1; @endphp
1. General Data
2. Enter Details
3. What student will learn
4. Course lessons
{{--
5. Course Documents
--}}
{{ csrf_field() }}
Setup Your Course
Please enter course name.
Please enter course Brief.
Please enter your Detailed description.
Enter the Details of your course
@if($data['edit']) @endif
Setup What You Will Learn
@if($data['edit']) @foreach($data['CourseData']['what_you_will_learn'] as $key =>$course) @if($key == 0) @continue @endif
@endforeach @endif
@if($data['edit']) {{$data['CourseData']->CourseLesson[0]->name}} @endif
@if($data['edit']) @foreach($data['CourseData']->CourseLesson as $key =>$videos) @if($key == 0) @continue @endif
@if($data['edit']) {{$videos->name}} @endif
@endforeach @endif
{{--
@if($data['edit']) {{$data['CourseData']->courseContentDocuments[0]->name}} @endif
@if($data['edit']) @foreach($data['CourseData']->courseContentDocuments as $key =>$documents) @if($key == 0) @continue @endif
@if($data['edit']) {{$documents->name}} @endif
@endforeach @endif
--}}
@endsection @section("script") @endsection @endif @endif