@extends('layouts.admin') @section('title', $account->name) @section('content')
{{ __('Back to accounts') }}

{{ $account->name }}

{{ $account->email }} @if ($account->isSuspended()) {{ __('Suspended') }} @else {{ __('Active') }} @endif @if ($account->sellerProfile) {{ __('Seller') }} @endif

{{ __('The account') }}

@foreach ([ __('Joined') => $account->created_at?->format('d M Y'), __('Listings') => $listingCount, __('Selling as') => $account->sellerProfile?->display_name ?? '—', __('Email verified') => $account->email_verified_at?->format('d M Y') ?? __('Not verified'), ] as $label => $value)
{{ $label }}
{{ $value }}
@endforeach
@if ($history->isNotEmpty())

{{ __('Suspension history') }}

{{-- Every suspension and every lift, so a repeat offender reads as a pattern rather than as a current state. --}}
    @foreach ($history as $entry)
  • {{ $entry->suspended_at?->format('d M Y') }} @if ($entry->actor) · {{ $entry->actor->name }} @endif {{ $entry->isActive() ? __('In force') : __('Lifted') }}
    @if ($entry->internal_note)

    {{ $entry->internal_note }}

    @endif @if ($entry->lifted_at)

    {{ __('Lifted :date', ['date' => $entry->lifted_at->format('d M Y')]) }} @if ($entry->lifter) · {{ $entry->lifter->name }} @endif @if ($entry->lift_note) — {{ $entry->lift_note }} @endif

    @endif
  • @endforeach
@endif

{{ __('Recorded activity') }}

@if ($logs->isEmpty())

{{ __('Nothing has been recorded against this account.') }}

@else
    @foreach ($logs as $log)
  1. {{ $log->describe() }} @if ($log->note) {{ $log->note }} @endif {{ $log->created_at?->format('d M Y, H:i') }}
  2. @endforeach
@endif
@if ($suspension)

{{ __('Suspended') }}

{{ $suspension->suspended_at?->format('d M Y, H:i') }} @if ($suspension->actor) · {{ $suspension->actor->name }} @endif

{{ __('What they were told') }}

{{ $suspension->public_reason }}

@if ($suspension->internal_note)

{{ __('Internal note') }}

{{ $suspension->internal_note }}

@endif
@csrf

{{ __('Their listings stay paused — putting them back is the seller’s decision.') }}

@else

{{ __('Suspend') }}

{{ __('Their listings come down with them and the account is told.') }}

@csrf
{{-- Never the reporter's words: that would identify whoever filed the complaint. --}}

{{ __('Goes to them by email. Never quote a report here.') }}

@error('internal_note')

{{ $message }}

@enderror
@endif
@endsection