@extends('adminlte::page') @section('title', 'Time Tracking Reports') @section('content_header')
Total Hours
{{ $startDate->format('M j') }} - {{ $endDate->format('M j, Y') }}Billable Hours
{{ $timeByUser->sum('total_hours') > 0 ? number_format(($timeByUser->sum('billable_hours') / $timeByUser->sum('total_hours')) * 100, 1) : 0 }}% of totalTotal Value
Hours × RatesAvg Utilization
Billable vs TotalNo utilization data available for the selected period.
@endif| User | Total Hours | Billable | Value | Utilization |
|---|---|---|---|---|
| {{ $user->name }} | {{ number_format($user->total_hours, 1) }}h | {{ number_format($user->billable_hours, 1) }}h | ${{ number_format($user->total_value, 0) }} | @php $color = $utilization >= 80 ? 'success' : ($utilization >= 60 ? 'warning' : 'danger'); @endphp {{ number_format($utilization, 1) }}% |
No time tracking data available for the selected period.
@endif| Case | Total Hours | Billable | Avg Rate |
|---|---|---|---|
|
{{ $case->case_number }} {{ Str::limit($case->title, 25) }} |
{{ number_format($case->total_hours, 1) }}h | {{ number_format($case->billable_hours, 1) }}h | ${{ number_format($case->avg_rate, 0) }} |
No case time data available for the selected period.
@endif