@extends('client.layouts.app') @section('title', 'Dashboard') @section('content')

Welcome back, {{ auth()->user()->first_name }}!

Here's an overview of your account.

{{-- Stats --}}

{{ $stats['active_services'] }}

Active Services

{{ $stats['active_domains'] }}

Domains

{{ $stats['unpaid_invoices'] }}

Unpaid Invoices

{{ $stats['open_tickets'] }}

Open Tickets

${{ number_format($stats['credit_balance'], 2) }}

Credit Balance

{{-- Active Services --}}

Your Services

View All
@forelse($services as $service)

{{ $service->product->name ?? 'Unknown' }}

{{ $service->domain ?? 'No domain' }}

Active
@empty
No active services. Order one now!
@endforelse
{{-- Recent Invoices --}}

Recent Invoices

View All
{{-- Recent Tickets --}}

Support Tickets

New Ticket
{{-- Domains --}}

Your Domains

View All
@forelse($domains as $domain)

{{ $domain->domain }}

Expires: {{ $domain->expiry_date?->format('M d, Y') }}

@empty

No domains registered.

@endforelse
@endsection