@if(Session::has('message'))
{{ Session::get('message') }}
@endif
| # |
Question |
Date & Time |
Status |
Action |
@if(count($quiz)>0)
@foreach($quiz as $key=>$item)
| {{ $key+1 }} |
{{ $item->question }} |
@if($item->updated_at != '0000-00-00 00:00:00')
{{ date("d/m/Y h:i A",strtotime($item->updated_at))}}
@else
{{ date("d/m/Y h:i A",strtotime($item->created_at))}}
@endif
|
@if($item->status=='0')
Inactive
@endif
@if($item->status=='1')
Active
@endif
|
@canany(['edit_users', 'delete_users']) @endcanany
@can('edit_users') @endcan
@include('shared._actions', [
'entity' => 'quiz_questions',
'id' => $item->id
])
|
@endforeach
@else
No records found! Click here to add a new record.
|
@endif