{{-- admin/remvo-waitlist.blade.php Demand signal for Remvo corridor prioritisation. Read-only by design — the notifier is CLI-only (remvo:notify-waitlist), because a button that emails an unbounded list on one web click, with no dry-run, is the kind of control that gets pressed by accident. Reuses the .rvo token system from remvo-deposits.blade.php rather than redefining it, so both pages stay identical in chrome. Only the tokens are duplicated; every rule below is scoped .rvo-wl-*. --}} @extends('layouts.admin_layout') @push('styles') @endpush @section('content')

Deposit waitlist

Users who registered interest in a fiat corridor that was not live when they asked. This is the demand signal for which corridor to open next.

Ready to notify

{{ number_format($stats['actionable']) }}

@if ($stats['actionable'] > 0) Corridor is live, these users have not been emailed yet. @else Nothing waiting on a live corridor. @endif

Total signups

{{ number_format($stats['total']) }}

Awaiting corridor

{{ number_format($stats['pending']) }}

Emailed

{{ number_format($stats['notified']) }}

Countries

{{ number_format($stats['countries']) }}
{{-- Per-country demand. The reason this page exists. --}}

Demand by country

@if ($byCountry->isEmpty())
No signups yet.
@else @foreach ($byCountry as $c) @endforeach
Country Corridor Waiting Total First asked Last asked
{{ $c->country_name }} {{ $c->country_iso2 }} {{ str_replace('_', ' ', $c->corridor_status) }} {{ number_format($c->pending) }} {{ number_format($c->total) }} {{ \Carbon\Carbon::parse($c->first_seen)->format('d M Y') }} {{ \Carbon\Carbon::parse($c->last_seen)->diffForHumans() }}
@endif

{{-- Stated rather than offered as a button: see the file docblock. --}} Send pending: php artisan remvo:notify-waitlist --dry-run then drop --dry-run to send.

{{-- Individual rows. --}}

Signups

All Ready Waiting Emailed
@if ($rows->isEmpty())
Nothing matches that.
@else @foreach ($rows as $r) @php $name = trim(($r->first_name ?? '') . ' ' . ($r->last_name ?? '')); $isReady = is_null($r->notified_at) && $r->corridor_status === 'active'; @endphp @endforeach
User Country Status Asked Emailed
{{ $name ?: 'User #' . $r->user_id }}
{{ $r->email }}
{{ $r->country_name }} @if ($r->currency_code) {{ $r->currency_code }} @endif @if ($r->notified_at) Emailed @elseif ($isReady) Ready to send @else {{ str_replace('_', ' ', $r->corridor_status) }} @endif {{ \Carbon\Carbon::parse($r->created_at)->format('d M Y H:i') }} {{ $r->notified_at ? \Carbon\Carbon::parse($r->notified_at)->format('d M Y') : '—' }}
{{ $rows->links() }}
@endif
@endsection