@extends('developer.layout') @section('content')

Project: {{ $project->project_type }}

Tasks

@foreach($project->tasks as $index => $task) @endforeach @if($project->tasks->isEmpty()) @endif
# Project Task Status Deadline Start Date End Date Action
{{ $index + 1 }} {{ $project->project_type }} {{ $task->title }} @if($task->status == 'new') New @elseif($task->status == 'hold') Hold @elseif($task->status == 'Completed') Completed @else {{ ucfirst($task->status) }} @endif {{$task->dead_line}} {{ $task->start_date ? \Carbon\Carbon::parse($task->start_date)->format('d-m-Y') : '-' }} {{ $task->end_date ? \Carbon\Carbon::parse($task->end_date)->format('d-m-Y') : '-' }} View
No tasks found for this project.
@endsection