@extends('portal.layouts.app') @section('title', 'EFU Operations') @section('subtitle', 'Underwriting pipeline and policy issuance') @section('actions') Generate lead extract @endsection @section('content')
@include('portal.partials.pipeline')
@if ($funnel === [])

No subscriptions have been captured yet.

@else
@foreach ($funnel as $stage => $data)
{{ $stage }} {{ number_format($data['count']) }}
@endforeach
@endif
@if ($recentLeads->isEmpty())

No applications yet.

@else
@foreach ($recentLeads as $lead) @endforeach
Reference Customer Product Contribution Status
{{ $lead->subscription_no }} {{ $lead->customer->full_name }} {{ $lead->product->code }} {{ $lead->plan?->code }} {{ number_format((float) $lead->contribution_amount) }} {{ $lead->status->label() }}
@endif
@foreach ($byProduct as $row) @endforeach
Product Applications Active
{{ $row['name'] }} {{ number_format($row['leads']) }} {{ number_format($row['active']) }}
@include('portal.partials.batch-list', ['batches' => $batches])
@endsection