@extends('layouts.admin') @section('title', $client->business_name) @section('content')

Account

{{ $client->email }} · {{ $client->phone }}
Joined {{ $client->created_at->format('d M Y') }} · signup IP {{ $client->signup_ip }}
Website limit: {{ $client->website_limit }} · Custom price: {{ $client->custom_price ?? 'default' }}
Free credits awarded: {{ $client->free_credits_awarded_at?->format('d M Y') ?? 'not yet' }}
@can_staff('clients.manage')
@csrf
@csrf
@csrf
@endcan_staff
@if($canFinance)

Finance (audited)

@csrf
@csrf
@csrf
@endif

Websites

@forelse($client->websites as $w)
{{ $w->normalized_domain }} · plugin {{ $w->plugin_version ?? '—' }}
@emptyNone@endforelse

Wallet ledger

@foreach($tx as $t)@endforeach
{{ $t->created_at->format('d M H:i') }}{{ $t->asset }}/{{ $t->type }}{{ $t->description }} @if($t->reason)— {{ $t->reason }}@endif{{ $t->amount + 0 }}

Recent calls

@foreach($calls as $c)
{{ substr($c->public_id, -8) }} #{{ $c->wc_order_id }} · {{ $c->provider->name }}
@endforeach

Recharges

@foreach($recharges as $r)
{{ $r->created_at->format('d M') }} {{ $r->reference }} {{ number_format($r->amount, 2) }}
@endforeach

Account activity

@foreach($logs as $l)
{{ $l->created_at->format('d M H:i') }} · {{ $l->action }} · {{ $l->user?->name }} @if($l->reason)— {{ $l->reason }}@endif
@endforeach
@endsection