All data regardless of user role • Comprehensive filtering and export capabilities
| Subject @if($sortBy === 'subject') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Client @if($sortBy === 'client_id') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Department @if($sortBy === 'department') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Status @if($sortBy === 'status') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Assigned To @if($sortBy === 'user_id') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Created @if($sortBy === 'created_at') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif |
|---|---|---|---|---|---|
| {{ $matter->subject }} | {{ $matter->client ? $matter->client->company_name : 'N/A' }} | {{ $matter->department }} | {{ ucfirst($matter->status) }} | {{ $matter->user ? $matter->user->name : 'Unassigned' }} | {{ $matter->created_at->format('M d, Y') }} |
| No matters found matching your criteria. | |||||
| Title @if($sortBy === 'title') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Matter @if($sortBy === 'matter_id') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Department @if($sortBy === 'department') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Status @if($sortBy === 'status') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Assigned To @if($sortBy === 'user_id') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Due Date @if($sortBy === 'due_date') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Created @if($sortBy === 'created_at') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif |
|---|---|---|---|---|---|---|
| {{ $task->title }} | {{ $task->matter ? $task->matter->subject : 'N/A' }} | {{ $task->department }} | {{ ucfirst(str_replace('_', ' ', $task->status)) }} | {{ $task->user ? $task->user->name : 'Unassigned' }} | {{ $task->due_date ? $task->due_date->format('M d, Y') : 'N/A' }} | {{ $task->created_at->format('M d, Y') }} |
| No tasks found matching your criteria. | ||||||
| Title @if($sortBy === 'title') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Client @if($sortBy === 'client_id') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Status @if($sortBy === 'status') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Amount @if($sortBy === 'amount') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Assigned To @if($sortBy === 'user_id') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Created @if($sortBy === 'created_at') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif |
|---|---|---|---|---|---|
| {{ $proposal->title }} | {{ $proposal->client ? $proposal->client->company_name : 'N/A' }} | {{ ucfirst($proposal->status) }} | {{ $proposal->amount ? '$' . number_format($proposal->amount, 2) : 'N/A' }} | {{ $proposal->user ? $proposal->user->name : 'Unassigned' }} | {{ $proposal->created_at->format('M d, Y') }} |
| No proposals found matching your criteria. | |||||
| Date @if($sortBy === 'date') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | User @if($sortBy === 'created_by') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Matter @if($sortBy === 'matter_id') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Proposal @if($sortBy === 'matter_id') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Description @if($sortBy === 'description') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Time Spent @if($sortBy === 'time_spent') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Hourly Rate @if($sortBy === 'hourly_rate') {{ $sortDirection === 'asc' ? '↑' : '↓' }} @endif | Total Cost |
|---|---|---|---|---|---|---|---|
| {{ $timesheet->date->format('d/m/Y') }} | {{ $timesheet->createdBy->name }} | {{ $timesheet->matter->subject }} | {{ $timesheet->matter->proposal ? $timesheet->matter->proposal->title : '-' }} |
{{ $timesheet->description }}
|
{{ $timesheet->formatted_time_spent }} | {{ $timesheet->formatted_hourly_rate }} | {{ $timesheet->formatted_total_cost }} |
| No timesheets found matching your criteria. | |||||||
| TOTALS: | {{ number_format($this->timesheets->sum('time_spent'), 2) }}h | €{{ number_format(config('app.default_hourly_rate', 75.00), 2) }} | €{{ number_format($this->timesheets->sum(function($timesheet) { return $timesheet->time_spent * $timesheet->hourly_rate; }), 2) }} | ||||
| {{ $header }} | @endforeach
|---|
| {{ $value }} | @endforeach