@extends('admin.layouts.app') @push('style') {{-- --}} @endpush @section('pagetitlesection') @endsection @section('content')

No of Courses : {{ count($listCourses) }}

{{-- --}} @forelse ($listCourses as $data) @empty @endforelse
Course NameLast NameCreated On Status Action
{{ $data->name ? $data->name : '---' }} {{ date('d-m-Y', strtotime($data->created_at)) }} @switch($data->status) @case(1) Active @break @case(0) Inactive @break @default Deleted @endswitch
No Data Yet
@endsection @push('scripts') @endpush