@extends('layouts.app') @section('content')

View My Task



@foreach ($tasks as $task) @endforeach
Task Title Assigned To Note From Date To Date Status Date Created Option
{{ $task->title }} {{ $task->tuser->firstName }} {{ $task->tuser->lastName }} {{ $task->note }} {{ $task->start_date }} {{ $task->end_date }} @if ($task->status == 'Pending') {{ $task->status }} @else {{ $task->status }} @endif {{ $task->created_at->toDayDateTimeString() }} @if ($task->status == 'Pending') Mark as Done @else No Action Needed @endif
@endsection