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

Course Management

@if (\Session::has('success'))
{!! \Session::get('success') !!}
@endif @if($categories->total() > 0)
@php //echo "
";
//print_r($excludedDataAll);
//echo "
"; @endphp @foreach ($categories as $cat) @endforeach
Sno Name ParentName Status Date Added Excluded Orders No Orders Action
{{$i+1}} {{$cat->name}} @php if($cat->parent > 0){ $parent = DB::table('tbl_course_category')->WHERE('id', $cat->parent)->first(); echo $parent->name; } @endphp {{$cat->staus}} {{$cat->add_date}} id, $excludedDataAll) ? 'checked' : '' }}> @php if($cat->orders_by > 0){ @endphp @php } @endphp {{$cat->orders_by}}
{!! $categories->links('pagination::bootstrap-4') !!}
@else
{{__('No data')}}
@endif
@endsection