{{-- Header Section --}}

Earnings Ledger

Transaction history for all earned commissions.

@if(request()->anyFilled(['status', 'type', 'date'])) Clear @endif
{{-- Table Card --}}
@foreach ($conversions as $conv) @endforeach
Event Type Reference Order Total Commission Status Date
{{ $conv->conversion_type === 'order' ? 'Customer Sale' : 'New User' }}
{{ substr($conv->source_reference_id ?? 'N/A', -10) }} ${{ number_format($conv->amount, 2) }} +${{ number_format($conv->commission_amount, 2) }}

{{ $conv->commission_type === 'percentage' ? $conv->commission_value . '%' : 'Fixed Fee' }}

{{ $conv->status }}

{{ $conv->created_at->format('M d, Y') }}

@if($conversions->hasPages())
{{ $conversions->links() }}
@endif