@php $pct = fn (?int $bp) => rtrim(rtrim(number_format(($bp ?? 0) / 100, 2), '0'), '.').'%'; @endphp

{{ $p->display_name }} {{ $p->code }} {{ ucfirst($p->status) }}

Creators / {{ $p->user?->name }} · {{ $p->user?->email }} · since {{ $p->approved_at?->format('j M Y') }}
@if ($p->is_public && $p->isActive())Public page @endif
Commission ledgerLast 100
DateOrderSourceBaseRateAmountStatus @forelse ($commissions as $c) {{ $c->created_at->format('j M Y') }} @if ($c->order){{ $c->order->number }}@endif {{ $c->type === 'clawback' ? 'Clawback' : ucfirst($c->conversion?->source ?? '') }} {{ $c->base ? money($c->base) : '—' }} {{ $c->type === 'sale' ? $pct($c->rate_bp) : '' }} {{ money($c->amount) }}@if ($c->type === 'sale' && $c->amount !== $c->original_amount){{ money($c->original_amount) }}@endif {{ ucfirst($c->status) }}@if ($c->note){{ $c->note }}@endif @empty No attributed sales yet. @endforelse
Links
LabelGoes toClicks @foreach ($links as $l){{ $l->label }}{{ $l->url() }}{{ $l->destination }}{{ number_format($l->clicks_count) }}@endforeach