@extends('layouts.student') @section('pageTitle',$pageTitle) @section('innerTitle',$pageTitle) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('student.dashboard')=>__lang('dashboard'), route('student.test.index')=>__lang('tests'), '#'=>$pageTitle ]]) @endsection @section('content')
@php if($testRow->show_result==1): @endphp

{{ __lang('your-score') }}

{{ $row->score }}%

{{ __lang('passmark') }}

{{ $testRow->passmark }}%

@php if($row->score >= $testRow->passmark ): @endphp

{{ __lang('you-passed-test') }}

@php else: @endphp

{{ __lang('you-failed-test') }}

@php endif; @endphp
@php else: @endphp

{{ __lang('you-completed-test') }}

@php endif; @endphp
@endsection