@extends('layouts.app') @section('titlePage', 'Manage Page') @section('content') @push('script') @endpush @php $is_admin = is_admin() || is_staff_master(); @endphp
@include('common.alert')
@if ($is_admin) @endif @endif @if(count($data) > 0) @foreach ($data as $value) @if ($is_admin) @endif @endforeach @else @endif
IDRoot Number Sequence NumberSubject Topic Type Marks Difficulty CreatedBy Status Verification status Verification Active/Deactive
{{ $value->question_id }}{{ $value->root_number }} {{ $value->sequence_number }}{{ $value->subject_title }} {{ $value->topic_name }} {{ \App\QuestionBank::getSelectQuestionType($value->question_type) }} {{ $value->marks }} {{ \App\QuestionBank::getSelectDifficultyLevel($value->difficulty_level) }} {{ $value->getCreatedBy() }} {{ ($value->status == 1)?"Activated":"Deactivated" }} {{ ($value->verified == 0)?"Unverified":"Verified" }} @if($value->verified == 0) Verify @else Unverify @endif
@csrf @method('DELETE')
@if($value->status == 1) verified == 1) ? '' : 'disabled'}}">Deactive @else verified == 1) ? '' : 'disabled'}}">Active @endif
No data
{{-- Pagination --}}
@endsection @section('script') @endsection