@extends('layouts.app') @section('title', 'Dashboard') @section('content')
@if (auth()->user()->canReceiveDashboardSoundAlerts())

New messages

@endif
@include('partials.ephemeral-logs-banner') @if (auth()->user()?->company?->subscriptionPlan) @php $__dashPlan = auth()->user()->company->subscriptionPlan; @endphp
{{ $__dashPlan->name }} Plan @if ($__dashPlan->is_perpetual) Unlimited Data retained indefinitely @else @if (auth()->user()->company->subscription_ends_at) Expires {{ auth()->user()->company->subscription_ends_at->format('M j, Y') }} @endif {{ $__dashPlan->max_devices ?? '∞' }} devices · {{ $__dashPlan->max_users ?? '∞' }} users · {{ $__dashPlan->max_keywords ?? '∞' }} keywords @php $__retention = auth()->user()->company->dataRetentionDays(); @endphp · Data retained {{ $__retention ? $__retention.' days' : 'indefinitely' }} @endif
@elseif (auth()->user()?->company?->plan === 'trial')
Trial @if (auth()->user()->company->trial_ends_at) Ends {{ auth()->user()->company->trial_ends_at->format('M j, Y') }} @endif
@endif

Live Message Feed

Newest inbound SMS across your workspace

@if (auth()->user()->isViewer()) @endif
Time User Department Sender Message Type
Waiting for messages…
@if ($recentMessages->hasPages())
{{ $recentMessages->withQueryString()->links() }}
@endif
@endsection @push('scripts') @php $dashboardJs = public_path('js/dashboard.js'); $dashboardVer = is_file($dashboardJs) ? filemtime($dashboardJs) : time(); @endphp @if (file_exists(public_path('hot'))) @vite(['resources/js/dashboard.js']) @else @endif @endpush