@extends('backend.layouts.app') @section('content')

Course Syllabus


@csrf
@if (\Session::has('success'))
{!! \Session::get('success') !!}
@endif
{{ csrf_field() }}
@if($syllabus->total() > 0)
@php $i = 0; @endphp @foreach ($syllabus as $cat) @endforeach
Sno Name Parent Type Order By Action
{{$i+1}} {{$cat->name}} @php $parent = DB::table('tbl_course_syllabus')->where('id', $cat->parent)->first(); if($parent){ echo $parent->name; } @endphp {{$cat->type}}
{!! $syllabus->links('pagination::bootstrap-4') !!}
@else
{{__('No data')}}
@endif
@endsection