{{ __('Admin') }} {{ __('Billing history') }}
{{ __('Admin · Billing & plans · Billing history') }}

{{ __('Billing') }} {{ __('history') }}

{{ __('Every payment event the platform has processed — charges, refunds, and retries across every workspace.') }}

@foreach (['status' => $statusF, 'gateway' => $gatewayF, 'q' => $q] as $k => $v) @if ($v !== null && $v !== '') @endif @endforeach
Analytics
{{ __('Gross revenue') }}
{{ $stats['gross'] }}
{{ ($stats['grossDelta']['positive'] ? '+' : '') . $stats['grossDelta']['pct'] }}%
{{ __('vs prev period') }}
{{ __('Successful charges') }}
{{ $stats['charges'] }}
{{ $stats['successPct'] }}% success rate
{{ __('Failed') }}
{{ $stats['failed'] }}
{{ __('to retry / dunning') }}
{{ __('Refunds issued') }}
{{ $stats['refunds'] }}
{{ $stats['refundsAmt'] }} {{ __('total') }}
{{ __('Chargebacks') }}
{{ $stats['chargebacks'] }}
{{ $stats['chargebacksAmt'] }} {{ __('disputed') }}
{{ __('Trend') }}

{{ __('Daily charges & refunds') }}

Charges Refunds
@php $statusPills = ['all' => 'All', 'paid' => 'Successful', 'failed' => 'Failed', 'refunded' => 'Refunded', 'pending' => 'Pending']; @endphp @foreach ($statusPills as $k => $label) @endforeach
@forelse ($orders as $o) @php $tone = match ($o->status) { 'paid' => 'bg-wa-mint text-wa-deep border-wa-green/40', 'pending' => 'bg-accent-amber/10 text-accent-amber border-accent-amber/40', 'failed' => 'bg-accent-coral/10 text-accent-coral border-accent-coral/40', 'refunded' => 'bg-[#F3E9FF] text-[#5B3D8A] border-[#D9CFFF]', default => 'bg-paper-100 text-ink-600 border-paper-200', }; $rowTone = $o->status === 'failed' ? 'bg-accent-amber/5' : ($o->status === 'refunded' ? 'bg-[#F3E9FF]/30' : ''); $ws = $o->workspace ?? \App\Models\Workspace::find($o->workspace_id); $package = $o->package_id ? \App\Models\Package::find($o->package_id) : null; @endphp @empty @endforelse
{{ __('Date') }} {{ __('Order #') }} {{ __('Workspace') }} {{ __('Gateway') }} {{ __('Plan') }} {{ __('Amount') }} {{ __('Status') }}
{{ $o->created_at->format('Y-m-d H:i') }} {{ $o->order_number }}
{{ $ws?->name ?? 'Workspace #' . $o->workspace_id }}
{{ $o->customer_email ?? ($o->customer_name ?? '—') }}
{{ $o->gateway_slug ? ucfirst($o->gateway_slug) : '—' }} {{ $package?->pname ?? '—' }} {{ $o->status === 'refunded' ? '-' : '' }}{!! \App\Support\FormatSettings::formatIn((float) ($o->total_amount ?? $o->amount), $o->currency) !!} {{ ucfirst($o->status) }} @if ($ws) @endif
{{ __('No payment events match.') }}
Showing {{ $orders->firstItem() ?? 0 }}–{{ $orders->lastItem() ?? 0 }} of {{ number_format($orders->total()) }} {{ __('events') }}
{{ $orders->onEachSide(1)->links() }}