@extends('backend.admin-master') @section('site-title') {{__('All Lessons')}} @endsection @section('style') @include('backend.partials.datatable.style-enqueue') @include('backend.partials.media-upload.style') @endsection @section('content')

{{__('All Lessons')}}

@foreach($all_lesson as $data) @endforeach
{{__('ID')}} {{__('Title')}} {{__('Course Title')}} {{__('Curriculum Title')}} {{__('Preview')}} {{__('Status')}} {{__('Action')}}
{{$data->id}} {{optional($data->lang)->title ?? __('Untitled')}} {{optional($data->course)->title}} {{optional($data->curriculum)->title}} @if($data->preview) @else {{__('No')}} @endif
@endsection @section('script') @include('backend.partials.bulk-action',['action' => route('admin.courses.bulk.action')]) @include('backend.partials.datatable.script-enqueue') @endsection