@extends('layouts.master') @section('title', 'Assignment Reports - Prolex Law Firm') @section('content')

Assignment Reports

Assignment Reports

{{ $stats['total_assignments'] }}
Total Assignments
{{ $stats['completed_assignments'] }}
Completed
{{ $stats['in_progress_assignments'] }}
In Progress
{{ $stats['overdue_assignments'] }}
Overdue

Report Filters

Productivity Report

Track lawyer productivity and assignment completion rates over time.

Status Overview

Current status distribution of all assignments and progress tracking.

Deadline Analysis

Assignments approaching deadlines and overdue items requiring attention.

Performance Metrics

Detailed performance analysis including completion times and efficiency metrics.

Assignment Analytics

Status Distribution

Priority Breakdown

Productivity by Lawyer

Deadline Analysis

@if(request('report_type') == 'detailed')

Detailed Assignment Information

@foreach($assignments as $assignment) @endforeach
ID Title Lawyer Client Case Priority Status Due Date Progress Creator Actions
{{ $assignment->id }} {{ $assignment->assignment_title }} {{ $assignment->lawyer ? $assignment->lawyer->first_name . ' ' . $assignment->lawyer->last_name : 'N/A' }} {{ $assignment->client ? $assignment->client->client_name : 'N/A' }} {{ $assignment->legalCase ? $assignment->legalCase->case_title : 'N/A' }} {{ ucfirst($assignment->priority) }} {{ ucfirst(str_replace('_', ' ', $assignment->status)) }} {{ $assignment->due_datetime ? \Carbon\Carbon::parse($assignment->due_datetime)->format('M d, Y H:i') : 'N/A' }}
{{ $assignment->progress_percentage }}%
{{ $assignment->creator ? $assignment->creator->name : 'N/A' }}
@endif

Export Reports

Export as PDF

Download report in PDF format

Export as Excel

Download report in Excel format

Export as CSV

Download report in CSV format

Print Report

Print the current report view

@endsection