@extends('web.student.index') @section('title', 'Progresso') @section('content') @include('web.student.partials.sideBarCalendar')

Progresso

Geral

Vocabulário

Homework

Badges

Writing

{{ $stats->writingPercentage !== null ? $stats->writingPercentage : '0'}}%

Reading

{{$stats->grammarPercentage !== null ? $stats->grammarPercentage :'0' }} %

Listening

{{$stats->listeningPercentage !== null ? $stats->listeningPercentage :'0'}} %

Speaking

{{ $stats->pronunciationPercentage !== null ? $stats->pronunciationPercentage : '0' }} %
@foreach($progress->reviews_received_student as $review)

Erros e elogios

Aula do dia {{ date('d/m', strtotime($review->lesson->date_time)) }} ({{ date('H:i', strtotime($review->lesson->date_time)) }})

Ver detalhes abrir

{{ $review->comments }}

@endforeach

Vocabulário

{{ $stats->vocabPercentage }}%
@foreach($lessons as $lesson) @if(!$lesson->lesson_vocabulary->isEmpty() && $lesson->status !== 'pending')

Vocabulário

Aula do dia {{ $lesson->date_time ? date('d/m', strtotime($lesson->date_time)) : 'Data não disponível' }} {{ $lesson->date_time ? date('H:i', strtotime($lesson->date_time)) : 'Hora não disponível' }}

Ver detalhes abrir
@foreach($lesson->lesson_vocabulary as $vocabulary) @endforeach
@endif @endforeach

Homework

{{ $stats->homeworkPercentage }} %
@foreach($lessons as $homework) @if(!$homework->lesson_homework->isEmpty() && $homework->status !== 'pending')

{{$homework->title}}

Tarefa do dia {{ date('d/m/y', strtotime($homework->date_time)) }} ({{ date('H:i', strtotime($homework->date_time)) }} - {{ date('H:i', strtotime($homework->updated_at)) }})

Ver detalhes abrir
    @foreach($homework->lesson_homework as $task) @endforeach
@endif @endforeach
@stop