Total Amount

TZS {{ number_format($payment->amount, 2) }}

Total Splits

{{ $splits->count() }}

Completed

{{ $splits->where('status', 'completed')->count() }}

Pending

{{ $splits->where('status', 'pending')->count() }}

Payment Distribution
@foreach($splits as $split)
{{ $split->recipient_name }}

{{ ucfirst(str_replace('_', ' ', $split->recipient_type)) }}

TZS {{ number_format($split->amount, 2) }}

{{ number_format($split->percentage, 2) }}%

{{ ucfirst($split->status) }} @if($split->processed_at) {{ $split->processed_at->format('d M Y, H:i') }} @endif
@endforeach