@if(session('success'))
{{ session('success') }}
@endif @php $uploadErrors = array_unique(array_merge( $errors->get('description_file') ?? [], $errors->get('post_too_large') ?? [] )); $otherErrors = collect($errors->all())->reject(fn($m) => in_array($m, $uploadErrors, true))->all(); @endphp @if(!empty($otherErrors))
@foreach($otherErrors as $e)
{{ $e }}
@endforeach
@endif @if(!empty($uploadErrors))
Upload failed
@foreach($uploadErrors as $e)
{{ $e }}
@endforeach @isset($uploadLimit)
Max file size {{ $uploadLimit['human'] }}. Allowed types: {{ $uploadLimit['allowed'] }}.
@endisset
@endif

My Courses

Courses coordinated by {{ $teacher->teacher_name_ar ?: $teacher->teacher_name_en }}

{{ $courses->count() }} {{ \Illuminate\Support\Str::plural('course', $courses->count()) }}
@isset($uploadLimit)
Upload limit: max file size {{ $uploadLimit['human'] }}. Allowed types: {{ $uploadLimit['allowed'] }}.
@endisset
@forelse($courses as $course) @empty @endforelse
Code Name (AR) Name (EN) Credit Hours Department Type Description File
{{ $course->course_code }} {{ $course->course_name_ar }} {{ $course->course_name_en }} {{ $course->credit_hours }} @if($course->department) {{ $course->department->department_name_ar ?: $course->department->department_name_en }} @else @endif @if($course->is_practical) Practical @else Theoretical @endif @if($course->is_general) General @endif @if($course->description) Current
@csrf @method('DELETE')
@else No file @endif
@csrf
You are not currently assigned as coordinator of any course.