@extends('layouts.master') @section('content')
{{-- HEADER --}}

Course_Directory_Logs {{ $courses->total() }} Active

Manage global courses, universities, and career pathways.

add New Course
{{-- LANGUAGE SWITCH --}}
@foreach($languages as $l) {{ strtoupper($l->code) }} @endforeach
{{-- FILTERS --}}
{{-- Course Name --}} {{-- University --}} {{-- Budget Preference --}} @php $options = filter_options('budget_preference'); @endphp {{-- Education Level --}} @php $options = filter_options('education_level'); @endphp {{-- University Preference --}} @php $options = filter_options('university_preference'); @endphp {{-- Mode --}} {{-- Industry (optional multi select UI placeholder) --}} {{-- Submit --}}
{{-- TABLE --}}
@forelse($courses as $course) {{-- COURSE --}} {{-- UNIVERSITY --}} {{-- Industry --}} {{-- MODE --}} {{-- ACTIONS --}} @empty @endforelse
Course University Budget Preference Current Education Qualification University Preference Industry Mode Actions

{{ translate_field($course->name) }}

{{ translate_field($course->duration ?? 'N/A') }}

{{ translate_field($course->university_name ?? '-') }}

{{ translate_field($course->university_location ?? '') }}

{{ filter_label('budget_preference', $course->budget_preference ?? '-', $lang) }} {{ filter_label('education_level', $course->education_level ?? '-', $lang) }} {{ filter_label('university_preference', $course->university_preference ?? '-', $lang) }}
@php $industryIds = $course->industries ?? $course->industry_id ?? []; if (is_string($industryIds)) { $industryIds = json_decode($industryIds, true) ?? []; } if (is_int($industryIds)) { $industryIds = [$industryIds]; } if (!is_array($industryIds)) { $industryIds = []; } @endphp @forelse($industryIds as $id) @php $industry = $industries->firstWhere('id', $id); @endphp @if($industry) {{ translate_field($industry->industry_name, $lang) }} @endif @empty - @endforelse
{{ translate_field($course->mode ?? '-') }}
edit
@csrf @method('DELETE')
No courses found
{{-- PAGINATION --}}

Showing {{ $courses->firstItem() ?? 0 }} - {{ $courses->lastItem() ?? 0 }}

{{ $courses->appends(request()->query())->links() }}
{{-- INSIGHTS --}}

Total Courses

{{ $courses->total() }}

Top Course

{{ translate_field($topCourse->name ?? 'N/A') }}

System Status

Secure

@endsection