{{-- BIG CENTERED TITLE --}}

Good evening, Jean Oliver

@php // -------- Sample data (replace with your real data later) -------- $recentActivities = $recentActivities ?? [ ['title' => 'Created invoice LM2201', 'at' => now()->subMinutes(42)->toDateTimeString(), 'by' => 'Dayne'], ['title' => 'Updated quote Q-1037', 'at' => now()->subHours(3)->toDateTimeString(), 'by' => 'Ivan'], ['title' => 'New client added: Bembom','at' => now()->subDay()->toDateTimeString(), 'by' => 'Admin'], ]; $upcomingTasks = $upcomingTasks ?? [ ['title' => 'Follow up: Bembom compliance', 'due' => now()->addDays(1)->toDateString(), 'priority' => 'High'], ['title' => 'Prepare monthly report', 'due' => now()->addDays(3)->toDateString(), 'priority' => 'Medium'], ['title' => 'Review invoice terms', 'due' => now()->addWeek()->toDateString(), 'priority' => 'Low'], ]; $upcomingEvents = $upcomingEvents ?? [ ['title' => 'Client Meeting', 'starts_at' => now()->addDays(2)->setTime(10, 30)->toDateTimeString(), 'location' => 'Office Boardroom'], ['title' => 'Liquor Act Workshop', 'starts_at' => now()->addDays(5)->setTime(9, 0)->toDateTimeString(), 'location' => 'Online'], ['title' => 'Quarterly Review', 'starts_at' => now()->addDays(9)->setTime(14, 0)->toDateTimeString(), 'location' => 'HQ'], ]; $unreadMail = $unreadMail ?? [ [ 'date' => now()->subMinutes(15)->toDateTimeString(), 'from_name' => 'SARS eFiling', 'from_email' => 'noreply@sars.gov.za', 'to_name' => 'Licentia Finance', 'to_email' => 'finance@licentia.co.za', 'subject' => 'VAT Statement Available', 'url' => '#', ], [ 'date' => now()->subHour()->toDateTimeString(), 'from_name' => 'Bembom', 'from_email' => 'ops@bembom.co.za', 'to_name' => 'Dominique', 'to_email' => 'dominique@licentia.co.za', 'subject' => 'Documents for COA application', 'url' => '#', ], [ 'date' => now()->subHours(5)->toDateTimeString(), 'from_name' => 'CIPC', 'from_email' => 'do-not-reply@cipc.co.za', 'to_name' => 'Licentia Mpumalanga', 'to_email' => 'info@licentia.co.za', 'subject' => 'Company Registration Update', 'url' => '#', ], ]; $importantMail = $importantMail ?? [ [ 'date' => now()->subDays(1)->setTime(8, 15)->toDateTimeString(), 'from_name' => 'Dominique Manarte', 'from_email' => 'dominique.ramos1@gmail.com', 'to_name' => 'Ivan', 'to_email' => 'ivan@licentia.co.za', 'subject' => 'Urgent: Invoice LM2201 Approval', 'url' => '#', ], [ 'date' => now()->subDays(2)->setTime(16, 40)->toDateTimeString(), 'from_name' => 'Legal Dept', 'from_email' => 'legal@licentia.co.za', 'to_name' => 'Licentia Team', 'to_email' => 'team@licentia.co.za', 'subject' => 'Policy Update: Liquor Act 59 of 2003', 'url' => '#', ], ]; // ----------------------------------------------------------------- @endphp {{-- ROW: Recent Activities • Upcoming Tasks • Upcoming Events --}}
{{-- Recent Activities --}} Recent Activities @if (count($recentActivities))
    @foreach ($recentActivities as $act)
  • {{ $act['title'] ?? 'Activity' }}
    @if(!empty($act['by'])) by {{ $act['by'] }}@endif @if(!empty($act['by']) && !empty($act['at'])) @endif @if(!empty($act['at'])) @endif
  • @endforeach
@else
No recent activity yet.
@endif
View all
{{-- Upcoming Tasks --}} Upcoming Tasks @if (count($upcomingTasks))
    @foreach ($upcomingTasks as $task) @php $priority = $task['priority'] ?? null; @endphp
  • {{ $task['title'] ?? 'Task' }}
    @if(!empty($task['due'])) Due {{ \Illuminate\Support\Carbon::parse($task['due'])->toFormattedDateString() }} @endif @if(!empty($task['due']) && $priority) @endif @if($priority) Priority: {{ $priority }} @endif
    @if($priority) {{ $priority }} @endif
  • @endforeach
@else
No upcoming tasks.
@endif
View all
{{-- Upcoming Events --}} Upcoming Events @if (count($upcomingEvents))
    @foreach ($upcomingEvents as $ev)
  • {{ $ev['title'] ?? 'Event' }}
    @if(!empty($ev['starts_at'])) @endif @if(!empty($ev['starts_at']) && !empty($ev['location'])) @endif @if(!empty($ev['location'])) {{ $ev['location'] }} @endif
  • @endforeach
@else
No upcoming events.
@endif
Open calendar
{{-- COLUMN: Unread Mail • Important Mail (Filament-styled tables) --}}
{{-- Unread Mail --}} Unread Mail @if (count($unreadMail))
@foreach ($unreadMail as $mail) @endforeach
Date From To Subject View
{{ $mail['from_name'] ?? '—' }}
{{ $mail['from_email'] ?? '—' }}
{{ $mail['to_name'] ?? '—' }}
{{ $mail['to_email'] ?? '—' }}
{{ $mail['subject'] ?? '(no subject)' }} View
@else
No unread mail.
@endif
Open mailbox
{{-- Important Mail --}} Important Mail @if (count($importantMail))
@foreach ($importantMail as $mail) @endforeach
Date From To Subject View
{{ $mail['from_name'] ?? '—' }}
{{ $mail['from_email'] ?? '—' }}
{{ $mail['to_name'] ?? '—' }}
{{ $mail['to_email'] ?? '—' }}
{{ $mail['subject'] ?? '(no subject)' }} View
@else
No important mail.
@endif
Open mailbox