@if(is_student_master())
Name Questions Duration
{{$test->title}} {{$test->total_questions}} {{$test->duration}} m
@else
Name Questions Duration Start Date End Date
{{$test->title}} {{$test->total_questions}} {{$test->duration}} m {{$test_series->start_date}} {{$test_series->end_date}}
@endif @php $count_number_answerd = $test->countNumberAnswered(); // echo $test->countNumberAnsweredTestseries('test-series'); exit; @endphp {{-- @if ( ( ((is_student_master() && !is_null($test_series->payment)) || $test_series->selling_price == 0) || is_student() ) ) --}} @if ( (is_student_master() && !is_null($test_series->payment)) )
@if ($canRunTest == false)
Please complete the previous section before moving to another section.
@endif @php $status_test = $test->getStatus('test-series'); /* @if ( $canRunTest && $status_test_seri != \App\TestSeriesStatus::STATUS_COMPLETED && $test->checkMinimumAnsweredOne('test-series') && (now()->parse($test_series->end_date) > (new Carbon)->toDateTimeString())) */ @endphp @if ( $canRunTest && $status_test_seri != \App\Models\TestSeriesStatus::STATUS_COMPLETED && ($test->countNumberAnsweredTestseries('test-series') < 1) ) @else @endif
@push('modal') @endpush @push('script') @endpush @else
@if ($canRunTest == false)
Please complete the previous section before moving to another section.
@endif @php $status_test = $test->getStatus('test-series'); @endphp @if ( $canRunTest && $status_test_seri != \App\Models\TestSeriesStatus::STATUS_COMPLETED && $test->countNumberAnsweredTestseries('test-series') < 1) @else @endif
@if ($status_test =='Completed' && $test_series->publish_result_status == 1) Check Score Check Correct Answer @endif
@push('modal') @endpush @push('script') @endpush @endif