@extends('backEnd.master') @section('title') @lang('academics.courses') @endsection {{-- {{dd($students)}} --}} @section('mainContent')

@lang('common.course_info')

@if ($errors->has('cat_id')) {{ $errors->first('cat_id') }} @endif
@if ($errors->has('track_type_id')) {{ $errors->first('track_type_id') }} @endif
@if ($errors->has('track_id')) {{ $errors->first('track_id') }} @endif

@lang('common.assigned_students')

@foreach ($course_students as $course_student) @endforeach
@lang('academics.student_name') @lang('common.action')
{{ $course_student->student->full_name }} {{-- @if (userPermission('')) @lang('common.edit') @endif --}} @if (userPermission('course_students_delete')) @lang('common.delete') @endif

@lang('hr.slots')

@forelse ($tableData as $row) @empty @endforelse
@lang('hr.slot_day') @lang('hr.slot_start') @lang('hr.slot_end') @lang('hr.date') @lang('hr.staff_name')
{{ $row['slot_day'] }} {{ formatTime($row['slot_start']) }} {{ formatTime($row['slot_end']) }} {{ $row['date'] }}
@lang('common.no_data_available')
@endsection @include('backEnd.partials.data_table_js') @push('scripts') @endpush @include('backEnd.partials.data_table_js')