@extends("layouts.main") @section('title', Lang::get('Bitirilen Sınavlar')) @section('content')

@lang('Bitirilen Sınavlar') - {{ $user->firstName }} {{ $user->lastName }}

@lang("Kullanıcı Bilgileri")

@lang("Ad Soyad"): {{ $user->firstName }} {{ $user->lastName }}

@lang("E-posta"): {{ $user->email ?? '-' }}

@lang("Telefon"): {{ $user->phone ?? '-' }}

@lang("Toplam Geçilen Sınav"): {{ $completedExams->total() }}

@if($completedExams->count() > 0) @foreach($completedExams as $index => $exam) @endforeach
# @lang("Kurs") @lang("Sınav") @lang("İzlenen Süre") @lang("Geçme Puanı") @lang("Tamamlanma Tarihi") @lang("Durum")
{{ $index + 1 }} {{ $exam->courseTitle ?? __('Bilgi Yok') }} @if($exam->courseDescription)
{{ Str::limit($exam->courseDescription, 50) }} @endif
{{ $exam->examTitle ?? __('Bilgi Yok') }} @if($exam->examDescription)
{{ Str::limit($exam->examDescription, 50) }} @endif
@if($exam->watchedDuration) {{ round($exam->watchedDuration / 60, 2) }} @lang('saat') @else - @endif @if($exam->passingScore) {{ $exam->passingScore }}% @else - @endif @if($exam->completedAt) {{ \Carbon\Carbon::parse($exam->completedAt)->format('d.m.Y H:i') }} @else - @endif @if($exam->isCompleted == 1) @lang("Tamamlandı") @else @lang("Devam Ediyor") @endif
{{ $completedExams->links('pagination::bootstrap-4') }}
@else

@lang("Bitirilen Sınav Bulunamadı")

@lang("Bu kullanıcı henüz hiçbir sınavı tamamlamamış.")

@endif
@endsection