@extends('layouts/contentNavbarLayout') @section('title', 'Reports') @section('content')

Task & Project Report

Export Excel
@forelse($projects as $project) @foreach($project->tasks as $task) @endforeach @empty @endforelse
Project Task Assigned To Status Priority Total Hours Start Date Due Date
{{ $project->name }} {{ $task->title }} {{ $task->assignedUser->name ?? 'N/A' }} {{ ucfirst($task->status) }} {{ ucfirst($task->priority) }} {{ $task->worklogs->sum('hours') }}h {{ date('d-m-Y', strtotime($task->start_date)) ?? 'N/A' }} {{ date('d-m-Y', strtotime($task->due_date)) ?? 'N/A' }}
No tasks found
@endsection