@extends('admin.layouts.master') @section('admin_content')
@if(Session::has('success')) @elseif(Session::has('package_updated')) @elseif(Session::has('reject')) @endif

Senior Submitted Task Lists


Pending Task: {{ $data['totalSubmittedTask'] }}

@include('user.modals.taskSubmit') {{-- --}} @foreach($data['tasks'] as $row) {{-- Submit Task --}} @endforeach
# User Task Link Task NAME Deadline Completed StatusACTION
{{$row->id}} {{$row->user->user_name}} Task Link {{$row->task->title}} {{$row->task->deadline}} {{$row->created_at}} {{-- {{ $row->status }} --}} @if ($row->status === 'Submitted')
@csrf
{{-- Include a form for rejecting the task --}}
@csrf
@elseif ($row->status === 'Approved') Approved @elseif ($row->status === 'Rejected') Rejected @endif
{{ $data['tasks']->links() }}
@push('scripts') @endpush @endsection