@if(isset($attempts) && $attempts->count())
| {{ __('app.student.practice.table.started') }} |
{{ __('app.student.practice.table.subject') }} |
{{ __('app.student.practice.table.progress') }} |
{{ __('app.student.practice.table.status') }} |
{{ __('app.student.practice.table.action') }} |
@foreach($attempts as $a)
| {{ $a->started_at?->format('Y-m-d H:i') ?? $a->created_at->format('Y-m-d H:i') }} |
{{ $a->subject?->name ?? '—' }} |
{{ (int)($a->total_items ?? 0) }} / {{ (int)$a->max_items }}
|
@if($a->finished_at)
{{ __('app.student.practice.finished') }}
@else
{{ __('app.student.practice.in_progress') }}
@endif
|
@if($a->finished_at)
{{ __('app.student.practice.view_result') }}
@else
{{ __('app.student.practice.resume') }}
@endif
|
@endforeach
@if(method_exists($attempts, 'links'))
{{ $attempts->onEachSide(1)->links() }}
@endif
@else
{{ __('app.student.practice.empty') }}
@endif