@if(theme('custom_dashboard_html'))
{!! theme('custom_dashboard_html') !!}
@endif @if(theme('banner_enabled', false))
@switch(theme('banner_type', 'info')) @case('critical') @break @case('warning') @break @case('success') @break @default @endswitch

{!! Str::markdown(theme('banner_message', '**This is an important announcement for all users.** You can use **bold**, *italic*, or even [links](https://example.com).'), ['html_input' => 'strip']) !!}

@if(theme('banner_dismissible', true)) @endif
@endif
Loading Time...
Loading Date...

{{ __('dashboard.welcome_back', ['name' => Auth::user()->first_name]) }}

{{ __('dashboard.dashboard_description') }}

{{-- Stats Cards - Overview --}} @if(config('settings.tickets_disabled', false))
@else
@endif

{{ __('dashboard.active_services') }}

{{ Auth::user()->services()->where('status', 'active')->count() }}

{{ __('dashboard.unpaid_invoices') }}

{{ Auth::user()->invoices()->where('status', 'pending')->count() }}

@if(!config('settings.tickets_disabled', false))

{{ __('dashboard.open_tickets') }}

{{ Auth::user()->tickets()->where('status', '!=', 'closed')->count() }}

@endif
{{-- Main Content Grid --}}
{{-- Left Column: Services & Invoices --}}
{{-- Active Services --}}

{{ __('dashboard.active_services') }}

{{ Auth::user()->services()->where('status', 'active')->count() }}
{{ __('dashboard.view_all') }}
{{-- Unpaid Invoices --}}

{{ __('dashboard.unpaid_invoices') }}

{{ Auth::user()->invoices()->where('status', 'pending')->count() }}
{{ __('dashboard.unpaid_invoices') }}
{{-- Right Column: Sidebar (Quick Actions & Tickets) --}}
{{-- Quick Actions --}}

Quick Actions

{{-- Buy Server --}}

Buy Service

Hosting

{{-- Help/Discord --}}

Get Help

Support

{{-- Profile --}}

{{ __('navigation.account') }}

Profile

{{-- Documentation --}}

Docs

Learn

{{-- Open Tickets Widget (Sidebar) --}} @if(!config('settings.tickets_disabled', false))

{{ __('dashboard.open_tickets') }}

{{ __('dashboard.view_all') }}
@endif
{!! hook('pages.dashboard') !!}