@csrf
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
Date
{{--
@json($courses_attach)
--}}

Select Course

    @if($courses) @foreach($courses as $course)
  • @if($course->groups)
      @foreach ($course->groups as $group)
    • @endforeach
    @endif
  • @endforeach @endif
@if ($errors->has('course_id')) {{ $errors->first('course_id') }} @endif
Uploading...
@if ($existing_files_docs) @foreach ($existing_files_docs as $index => $file_input) @if(is_array($file_input) && isset($file_input['google_calendar_id']) && $file_input['google_calendar_id'])

{{$file_input['file_name']}}

View file
@else @if(is_array($file_input) && $file_input['file_name'])

{{ \Str::limit($file_input['file_name'], 10) }}

{{--

--}}
@else

{{ \Str::limit($file_input->getClientOriginalName(), 10) }}

@if($file_input->getClientOriginalExtension() == "pdf") Download file @elseif($file_input->getClientOriginalExtension() == "png" || $file_input->getClientOriginalExtension() == "jpg" || $file_input->getClientOriginalExtension() == "jpeg" || $file_input->getClientOriginalExtension() == "webp") Download file hero @else

Download file
@endif

@endif @endif @endforeach @endif
@push('scripts') @endpush