{{-- Management Workflow Analytics Dashboard --}}

Workflow Analytics

{{-- Key Performance Indicators --}}
Total Revenue
${{ number_format($totalRevenue, 2) }}
Completed Jobs
{{ $completedJobs }}
Avg. Turnaround
{{ $averageTurnaround }} days
Quality Alerts
{{ $qualityAlerts }}
{{-- Charts and Analytics --}}
{{-- Revenue by Branch --}}

Revenue by Branch

@foreach($revenueByBranch as $branch => $revenue)
{{ $branch }} ${{ number_format($revenue, 2) }}
@endforeach
{{-- Labor Utilization --}}

Labor Utilization

@foreach($laborUtilization as $technician => $hours)
{{ $technician }} {{ $hours['billable'] }}/{{ $hours['total'] }}h
@endforeach
{{-- Workflow Status Distribution --}}

Current Workflow Status Distribution

@foreach($workflowDistribution as $status => $count)
{{ $count }}
{{ str_replace('_', ' ', ucwords($status, '_')) }}
@endforeach
{{-- Approval Trends --}}

Estimate Approval Trends

Approved {{ $approvalTrends['approved'] }}%
Pending {{ $approvalTrends['pending'] }}%
Declined {{ $approvalTrends['declined'] }}%
{{-- Parts Usage Summary --}}

Top Parts Usage

@foreach($partsUsage as $part)
{{ $part['name'] }}
{{ $part['category'] }}
{{ $part['quantity'] }} used
${{ number_format($part['value'], 2) }}
@endforeach
{{-- Recent Quality Issues --}} @if(!empty($recentQualityIssues))

Recent Quality Issues

@foreach($recentQualityIssues as $issue) @endforeach
Job Card Issue Type Description Date Status
{{ $issue['job_card_number'] }} {{ $issue['type'] }} {{ $issue['description'] }} {{ $issue['date'] }} {{ ucfirst($issue['status']) }}
@endif {{-- Export Actions --}}

Export Reports