@php use App\Models\MockTestResult; @endphp @extends('student-panel.layouts.app') @section('main')
listening icon

Listening

Duration

40 Min

Sections

4

Questions

40

@if(in_array(['test_id' => $test->listening_test_id], $results, true)) @php $band = MockTestResult::where('test_id', $test->listening_test_id) ->where('user_id', auth()->user()->id) ->value('band'); @endphp {{ $band }} @else @if($test->id >= 130) @else @endif @endif
listening icon

Reading

Duration

60 Min

Sections

3

Questions

40

@if(in_array(['test_id' => $test->reading_test_id], $results, true)) @php $band = MockTestResult::where('test_id', $test->reading_test_id) ->where('user_id', auth()->user()->id) ->value('band'); @endphp {{ $band }} @else @if($test->id >= 130) @else @endif @endif
listening icon

Writing

Duration

60 Min

Sections

2

Words

>400

@if(in_array(['test_id' => $test->writing_test_id], $results, true)) @php $band = MockTestResult::where('test_id', $test->writing_test_id) ->where('user_id', auth()->user()->id) ->value('band'); @endphp {{ $band }} @else @if($test->id >= 130) @else @endif @endif
{{--
listening icon

Speaking

Duration

14 Min

Sections

3

Questions

40

@if(in_array(['test_id' => $test->speaking_test_id], $results, true)) @php $band = MockTestResult::where('test_id', $test->speaking_test_id) ->where('user_id', auth()->user()->id) ->value('band'); @endphp @if($band) {{ $band ?? '0'}} @else @endif @else @if($test->id >= 130) @else @endif @endif
--}}
@endsection @section('css') @endsection @section('script') @endsection