@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @php $questionbook= App\QuestionBook::where('course_id',$cor->id)->orderBy('created_at','desc')->get(); @endphp
@can('questionbook.delete') @endcan @can('questionbook.create') {{ __('Add Question') }} @if($questionbook->isNotEmpty())
{{ __('Download PDF') }}
{{ __('(The PDF will not be shown on the frontend until the download is complete.)') }}
@endif
@csrf
@endcan
@foreach($questionbook as $cat) @endforeach
# {{ __('Question') }} {{ __('type') }} {{ __('Action') }}
1 {{$cat->question}} {{$cat->type}}