@extends('layouts.app') @section('content')

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

Manage your hosting accounts and services

Active Accounts

{{ $hostingAccounts->where('status', 'active')->count() }}

Recent Orders

{{ $recentOrders->count() }}

Unpaid Invoices

{{ $unpaidInvoices->count() }}

Open Tickets

{{ $openTickets }}

Your Hosting Accounts

@if($hostingAccounts->count() > 0)
@foreach($hostingAccounts->take(3) as $account)

{{ $account->domain }}

{{ $account->hostingPlan->name }}

Expires: {{ $account->expires_at->format('M d, Y') }}

@if($account->status === 'active') cPanel @endif {{ ucfirst($account->status) }}
@endforeach
@else

No hosting accounts yet. Browse our plans

@endif

Recent Activity

@if($recentOrders->count() > 0)
@foreach($recentOrders as $order)

Order #{{ $order->id }}

{{ $order->domain }}

{{ $order->created_at->format('M d, Y') }}

{{ ucfirst($order->status) }}
@endforeach
@else

No recent orders

@endif
@endsection