Commissions Ledger

Line-by-line commission records for the selected filters.

Period: {{ $periodLabel }} @if($salespersonLabel) Salesperson: {{ $salespersonLabel }} @endif @if($sourceLabel) Source: {{ $sourceLabel }} @endif @if($statusLabel) Status: {{ $statusLabel }} @endif Generated: {{ $generatedAt->format('M j, Y g:i A') }} ET

@if($commissions->isEmpty())

No commissions match these filters.

@else @foreach($commissions as $commission) @php $status = $commission->displayStatus(); @endphp @endforeach
Earned Salesperson Source Reference Subtotal Rate Commission Status
{{ $commission->earned_at?->timezone('America/New_York')->format('M j, Y g:i A') }} @if($commission->voided_at)
Voided {{ $commission->voided_at->timezone('America/New_York')->format('M j') }}
@elseif($commission->paid_at)
Paid {{ $commission->paid_at->timezone('America/New_York')->format('M j') }}
@endif
{{ $commission->salesperson?->full_name }} {{ $commission->sourceLabel() }} @if($commission->isNmiTxnFee())
Fixed amount when not the assigned seller
@endif
{{ $commission->referenceLabel() }} @if($commission->shopify_order_id)
Shopify #{{ $commission->shopify_order_id }}
@endif
${{ number_format((float) $commission->order_subtotal, 2) }} {{ $commission->commissionRateLabel() }} ${{ number_format((float) $commission->commission_earned, 2) }} @if($status === 'voided') Voided @elseif($status === 'paid') Paid @else Pending @endif
Summary
Sale commissions ({{ $saleCount }}) ${{ number_format($saleTotal, 2) }}
NMI coverage ({{ $coverageCount }}) ${{ number_format($coverageTotal, 2) }}
Pending ${{ number_format($pendingTotal, 2) }}
Paid ${{ number_format($paidTotal, 2) }}
Voided ({{ $voidedCount }}) ${{ number_format($voidedTotal, 2) }}
Total earned ({{ $earnedCount }} {{ $earnedCount === 1 ? 'commission' : 'commissions' }}) ${{ number_format($commissionTotal, 2) }}

Total earned is pending + paid. Voided is listed separately and is not included.

@endif