Tranche Report
{{ $stats['funded'] }}

Funded Cases

{{ $stats['available'] }}

Available To Fund

{{ $stats['pending'] }}

Pending Availability

@php $totalFunded = $stats['funded']; $highPct = $totalFunded > 0 ? ($stats['high_priority'] / $totalFunded) * 100 : 0; $lowPct = $totalFunded > 0 ? ($stats['low_priority'] / $totalFunded) * 100 : 0; @endphp

High Priority Cases

{{ $stats['high_priority'] }} ({{ number_format($highPct, 1) }}%)

Client is 68+ or has a terminal illness.

Low Priority Cases

{{ $stats['low_priority'] }} ({{ number_format($lowPct, 1) }}%)

All other funded cases.

Tranche List

@foreach($tranches as $tranche) @php $total = $tranche->clients_count; $high = $tranche->high_priority_count; $low = max(0, $total - $high); $highPct = $total > 0 ? ($high / $total) * 100 : 0; $lowPct = $total > 0 ? ($low / $total) * 100 : 0; @endphp @endforeach
Funder Tranche Name Total Funding Cases Priority (High / Low) Actions
{{ $tranche->funder_name }} {{ $tranche->tranche_name }} £{{ number_format($tranche->amount_per_case * $tranche->clients_count, 2) }} {{ $tranche->clients_count }}
@if($high > 0)@endif {{ $high }} high {{ $low }} low