@extends('examples.modern-layout-v2') @section('title', 'Dashboard') @section('dashboard', 'bg-blue-50 text-blue-700') @section('content')

Dashboard

Welcome back! Here's what's happening with your queue system today.

@if($isTrialLicense || !$isLicenseValid || (isset($hasNoLicense) && $hasNoLicense))
@if(!$isLicenseValid && isset($licenseStatus['status']) && $licenseStatus['status'] === 'expired')
error_outline
{{__('messages.errors.license_expired')}}

{{__('messages.errors.license_expired_description')}}

@elseif($isTrialLicense)
warning_amber
{{__('messages.errors.trial_license_active')}}

@if($daysRemaining > 0) {{__('messages.errors.trial_license_days_remaining', ['days' => $daysRemaining])}} @else {{__('messages.errors.trial_license_expired')}} @endif {{__('messages.errors.trial_license_description')}}

@elseif(isset($hasNoLicense) && $hasNoLicense)
warning_amber
{{__('messages.errors.trial_license_active')}}

{{__('messages.errors.trial_license_description')}}

@endif
@endif @if($isAdmin)
queue
Queue

{{__('messages.dashboard.today queue')}}

{{$today_queue}}

phone_in_talk
Active

{{__('messages.dashboard.today serving')}}

{{$today_serving}}

check_circle
Completed

{{__('messages.dashboard.today served')}}

{{$today_served}}

cancel
No Show

{{__('messages.dashboard.today noshow')}}

{{$today_noshow}}

{{__('messages.dashboard.today')}}

Token distribution overview

pie_chart

{{__('messages.dashboard.today vs yesterday')}}

Hourly comparison

show_chart
@else
dashboard

{{__('messages.dashboard.welcome')}}

{{__('messages.dashboard.call_page_redirect')}}

{{__('messages.dashboard.go_to_call_page')}} arrow_forward
@endif
@if($isAdmin) @push('scripts') @endpush @endif @endsection