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

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

{{ Auth::user()->services()->where('status', 'active')->count() }}
{{ __('dashboard.view_all') }}
@if(!config('settings.tickets_disabled', false))

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

{{ Auth::user()->tickets()->where('status', '!=', 'closed')->count() }}
{{ __('dashboard.view_all') }}
@endif

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

{{ Auth::user()->invoices()->where('status', 'pending')->count() }}
{{ __('dashboard.view_all') }}
{!! hook('pages.dashboard') !!}