@extends('layouts.app') @inject('employeeRepository', 'Modules\Employee\Repositories\EmployeeRepository') @section('content')
@include('layouts.partials.breadcrumb', ['title' => $title]) @include('pms::task.partials.menu')
@forelse ($tasks as $key => $task) @empty @endforelse
S.N Task Project Start Date Deadline Assigned Priority Status Action
{{ $key + 1 }} {{ $task->title }} {{ optional($task->project)->project_name }} {{ $task->start_date }} {{ $task->due_date }}
@isset($task->assigned_id) @foreach ($task->assigned_id as $assignedId) @endforeach @endisset
{!! $task->priority_status !!} {!! $task->status_name['status'] !!}
@can('task.show') @endcan @can('task.edit') @endcan @can('task.destroy') @endcan
@endsection