{{ __('Workspace') }}

Good {{ now()->format('H') < 12 ? 'Morning' : (now()->format('H') < 17 ? 'Afternoon' : 'Evening') }}, {{ Auth::user()->name }}

Your legal practice at a glance.

Active Files

{{ $stats['active_cases'] }}

Live Currently open matters
Receivables

KES{{ number_format($stats['pending_revenue']) }}

Pending Unpaid invoices
Knowledge Base

{{ $stats['documents_count'] }}

Indexed Total files stored
Cash (This Month)

KES{{ number_format($stats['monthly_revenue']) }}

Collected Actual revenue

Revenue Trend

Last 6 Months

Case Load

Recent Activity

View All Cases
@forelse($recent_cases as $case) @empty @endforelse
Matter Client Status
{{ $case->case_number }}
{{ $case->title }}
{{ substr($case->client->name, 0, 1) }}
{{ $case->client->name }}
@php $colors = match($case->status) { 'open' => 'bg-emerald-50 text-emerald-700 ring-emerald-600/20', 'closed' => 'bg-slate-100 text-slate-600 ring-slate-500/20', 'hearing' => 'bg-amber-50 text-amber-700 ring-amber-600/20', default => 'bg-gray-50 text-gray-600 ring-gray-500/20' }; @endphp {{ ucfirst($case->status) }}

No recent cases found.

Upcoming Hearings

@if($upcoming_hearings->count() > 0)
@endif @forelse($upcoming_hearings as $hearing)
{{ $hearing->court_date->format('M') }} {{ $hearing->court_date->format('d') }}
{{ $hearing->case_number }}

{{ $hearing->title }}

{{ $hearing->court_date->format('h:i A') }} {{ $hearing->court_name ?? 'TBD' }}
@empty

No hearings coming up.

Time to catch up on paperwork!

@endforelse