@extends('layout.layout') @push('styles') @endpush @section('content')
@include('components.alert')

Conversation Project Review

{{ $course->course_name_en ?? 'N/A' }} - {{ $course->trackLevel?->name_en ?? 'N/A' }}

Student
{{ $submission->student?->full_name ?? 'N/A' }}
Status
{{ str_replace('_', ' ', $submission->status) }}
Final Score
{{ $submission->total_score ?? $submission->weighted_score ?? 'N/A' }} / 50
Criterion Weight Score / 10
Pronunciation and intonation 10% {{ $submission->pronunciation_intonation_score ?? 'N/A' }}
Vocabulary and lexical range 10% {{ $submission->vocabulary_lexical_range_score ?? 'N/A' }}
Fluency and cohesion 10% {{ $submission->fluency_cohesion_score ?? 'N/A' }}
Grammar and syntax 10% {{ $submission->grammar_syntax_score ?? 'N/A' }}
Communication strategies 10% {{ $submission->communication_strategies_score ?? 'N/A' }}
Reviewed By
{{ $submission->reviewer?->full_name ?? 'N/A' }}
@if ($submission->status === \App\Models\ConversationProjectSubmission::STATUS_REVIEWED)
This submission has already been reviewed. The rubric is locked and no further uploads are allowed.
@else
@csrf
@foreach ([ ['label' => 'Pronunciation and intonation', 'field' => 'pronunciation_intonation_score'], ['label' => 'Vocabulary and lexical range', 'field' => 'vocabulary_lexical_range_score'], ['label' => 'Fluency and cohesion', 'field' => 'fluency_cohesion_score'], ['label' => 'Grammar and syntax', 'field' => 'grammar_syntax_score'], ['label' => 'Communication strategies', 'field' => 'communication_strategies_score'], ] as $criterion) @endforeach
Criterion Weight Score / 10
{{ $criterion['label'] }} 10% @error($criterion['field'])
{{ $message }}
@enderror
The submission will be marked as reviewed and uploads will be locked.
@endif
@endsection