@extends('layouts.app') @section('title', 'Dashboard') @section('content') @use('App\Support\Money') @foreach ($announcements as $a)
{{ $a->title }} — {{ \Illuminate\Support\Str::limit($a->body, 200) }} Read more
@endforeach

Dashboard

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

Available balance
{{ Money::format($wallet->available, $wallet->currency) }}
Reserved (in-flight orders)
{{ Money::format($wallet->reserved, $wallet->currency) }}
Active package
@if ($activePackage)
{{ $activePackage->package->name }}
Expires {{ $activePackage->ends_at->format('d M Y') }} · {{ $activePackage->quotaRemaining() === null ? 'Unlimited requests' : number_format($activePackage->quotaRemaining()) . ' requests left' }}
@else
None
@endif

Recent wallet activity

@forelse ($recentTransactions as $tx)
{{ \Illuminate\Support\Str::headline($tx->type->value) }}
{{ $tx->created_at->format('d M, H:i') }}
{{ Money::sign($tx->type->value) }}{{ Money::format($tx->amount, $wallet->currency) }}
@empty

No wallet activity yet.

@endforelse

View full wallet →

Recent deposits

@forelse ($recentDeposits as $d)
{{ Money::format($d->amount, $d->currency) }}
{{ $d->created_at->format('d M, H:i') }}
{{ \Illuminate\Support\Str::headline($d->status->value) }}
@empty

No deposits yet.

@endforelse

Deposit history →

Recent orders

@forelse ($recentOrders as $o)
{{ $o->public_id }}
{{ $o->service->name }} · {{ $o->created_at->format('d M, H:i') }}
{{ \Illuminate\Support\Str::headline($o->status->value) }}
@empty

No orders yet.

@endforelse

All orders →

API activity

{{ number_format($apiRequests24h) }} API requests in the last 24 hours · {{ $activeKeys }} active key{{ $activeKeys === 1 ? '' : 's' }}

Manage API keys → · View usage →

@endsection