@if (count($assignments) > 0) @foreach ($assignments as $assignment)
{{ $assignment->user->name }}
@if ($assignment->comment)
{{ $assignment->comment }}
@endif
{{ __('messages.Homework') }} {{ __('messages.Session') }} {{ convert_to_ordinal($assignment->model->session->session_number,app()->getLocale()) }}
@endforeach @if (count($correctionAssignments) > 0) @foreach ($correctionAssignments as $correctionAssignment)
{{ $correctionAssignment->user->name }}
@if ($correctionAssignment->comment)
{{ $correctionAssignment->comment }}
@endif
{{ __('messages.Correction is mandatory') }} {{ __('messages.Homework') }} {{ __('messages.Session') }} {{ convert_to_ordinal($assignment->model->session->session_number,app()->getLocale()) }}
@endforeach @endif @if ($uploadAssignment)
@if ($assignment_file && count($assignment_file) > 0)
@foreach ($assignment_file as $key => $file)
@endforeach
@endif
{{-- --}} {{-- --}}
@endif @else
{{ __('messages.There are no comments') }}
@endif