| {!! $value->getSections ? $value->getSections->name : "" !!} |
@if(isset($corporate_custom_settings) && $corporate_custom_settings->is_accept_best_mcq==1 && $value->getSections->question_type==1) {{-- @version 21.0 @author Dilip @abstract Accept Best MCQ --}}
@php
$mcq_scores= App\Http\Controllers\Pro\TestResultController::checkBestMCQOverall($test_pin,$value->getSections->id,$assign_id);
@endphp
{!! isset($mcq_scores['overall_score']) ? number_format($mcq_scores['overall_score'],2) : 0 !!} |
{!! isset($mcq_scores['total_score']) ? number_format($mcq_scores['total_score'],2) : 0 !!} |
@elseif(isset($corporate_custom_settings) && $corporate_custom_settings->is_accept_best==1 && $value->getSections->question_type==3)
@php
$subjective_scores= App\Http\Controllers\Pro\TestResultController::checkBestSubjectiveOverall($test_pin,$value->getSections->id,$assign_id,$value);
@endphp
{!! isset($subjective_scores['overall_score']) ? number_format($subjective_scores['overall_score'],2) : 0 !!} |
{!! isset($subjective_scores['total_score']) ? number_format($subjective_scores['total_score'],2) : 0 !!} |
@elseif($value->getSections->question_type==5)
@php
$get_section_score = App\Http\Controllers\Pro\TestResultController::getEssyTypeOverallScores($test_pin,$value->getSections->id);
@endphp
{{ isset($get_section_score['obtained_score']) ? number_format($get_section_score['obtained_score'],2) : 0 }} |
{{ isset($get_section_score['full_score']) ? number_format($get_section_score['full_score'],2) : 0 }} |
@else
{!! number_format($value->overall_score,2) !!} |
{!! number_format($value->total_score,2) !!} |
@endif
@empty
@if((count($custom_topic_result) == 0 && count($section_result) ==0))