@extends('backend.admin-master') @section('site-title') {{__('Courses Certificates')}} @endsection @section('style') @include('backend.partials.datatable.style-enqueue') @endsection @section('content')

{{__('All Certificates')}}

@foreach($all_certificates as $data) @endforeach
{{__('ID')}} {{__('Course Title')}} {{__('Student Name')}} {{__('Student Email')}} {{__('Action')}}
{{$data->id}} {{optional(optional($data->course)->lang)->title ?? __('Untitled')}} {{optional($data->user)->name}} ({{optional($data->user)->username}}) {{optional($data->user)->email}} @if($data->status === 0)
@csrf
@else {{__('Download Certificate')}} @endif
@endsection @section('script') @include('backend.partials.bulk-action',['action' => route('admin.course.certificate.bulk.action')]) @include('backend.partials.datatable.script-enqueue') @endsection