@extends('layouts.instructor') @section('breadcrumb')

{{ __('Chat') }}

@endsection @section('content')
{{ __('Chat Box') }}
{{-- Student list --}}

{{ __('Students with enrolled courses') }}

    @if (!empty($data)) @foreach ($data as $index => $item)
  • image {{ $item[0]->user_name }}: @foreach ($item as $course) id }} data-receiver-id={{ $course->user_id }} data-course-id={{ $course->course_id }} onclick="getMessages('{{ Auth::user()->id }}', '{{ $course->user_id }}','{{ $course->course_id }}')"> {{ $course->course_title }} @endforeach
  • @endforeach @endif
{{-- message box area --}}

@endsection @push('style') @endpush @push('script') @if(get_option('broadcast_default', 0) == 'pusher') @else @endif @endpush