@extends('portal.layouts.app') @section('title', 'Administrator Dashboard') @section('subtitle', 'Whole-of-system view across the BankIslami takaful programme') @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']) }} ({{ $data['share'] }}%)
@endforeach
@endif
@php $max = max(1, max($dailyLeads)); @endphp
@foreach ($dailyLeads as $day => $count)
@endforeach
{{ \Carbon\Carbon::parse(array_key_first($dailyLeads))->format('d M') }} {{ \Carbon\Carbon::parse(array_key_last($dailyLeads))->format('d M') }}
@foreach ($byProduct as $row) @endforeach
Product Applications Active Contribution in force
{{ $row['code'] }} {{ $row['name'] }} {{ number_format($row['leads']) }} {{ number_format($row['active']) }} PKR {{ number_format($row['contribution']) }}
@include('portal.partials.batch-list', ['batches' => $batches]) @if ($failures->isEmpty())

No failed rows. Every uploaded record has been applied.

@else @endif
@endsection