@php $data = []; $data['title'] = "Dashboard || upload assignment"; @endphp @include('teacher.components.header_link', $data);
@include('teacher.components.menu')
@include('teacher.components.navbar', $data)
@if (session('success')) @endif
@csrf
{{--
--}}
@if (count($assignment) > 0) @foreach ($assignment as $index => $ass) @endforeach @else @endif
Sr.No Assignment Title Description Assign Date Submit Date Course Assignment File Action
{{ $index + 1 }} {{ $ass->assign_title }} {{ $ass->description }} {{ \Carbon\Carbon::parse($ass->assign_date)->format('d-m-Y') }} {{ \Carbon\Carbon::parse($ass->submit_date)->format('d-m-Y') }} {{ $ass->course->name ?? 'N/A' }} @if($ass->file) Download @else No file @endif
No assignments found.
@include('teacher.components.footer') @include('teacher.components.footer_link')