@extends('layouts.app') @push('css') @endpush @section('content')
Exam
@foreach ($exams as $key=>$exam) @if(!empty($exam->user->full_name)) @else @endif @if(!empty($exam->course->title)) @else @endif @if(!empty($exam->venue->name)) @else @endif @if(!empty($exam->batch->name)) @else @endif @endforeach
# Created By Exam Title Course Name Venu Name Program Start Time End Time Date Action
{{ $key+1 }}{{$exam->user->full_name}}{{ $exam->exam_title }}{{ $exam->course->title }}{{$exam->venue->name}}{{$exam->batch->name}}{{ $exam->start_time }} {{ $exam->end_time }} {{ $exam->date }} @if($exam->mark_publish==0) @can('exam.mark_publish') @endcan @else @if (Auth::user()->role_id==1 || Auth::user()->role_id==2 ) @endif @endif @if($exam->status==0) @can('exam.status') @endcan @else @if (Auth::user()->role_id==1 || Auth::user()->role_id==2 ) @endif @endif @if($exam->status==0) @can('exam.setquestion') Set Exam Question @endcan @can('exam.destroy') @endcan @endif @if($exam->status==0) @can('exam.edit') Edit @endcan @else @endif @can('exam.preview') Preview @endcan
@endsection @push('js') @endpush