@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') }}
| Product |
Applications |
Active |
Contribution in force |
@foreach ($byProduct as $row)
|
{{ $row['code'] }}
{{ $row['name'] }}
|
{{ number_format($row['leads']) }} |
{{ number_format($row['active']) }} |
PKR {{ number_format($row['contribution']) }} |
@endforeach
@include('portal.partials.batch-list', ['batches' => $batches])
@if ($failures->isEmpty())
No failed rows. Every uploaded record has been applied.
@else
@foreach ($failures as $failure)
-
{{ $failure->message }}
{{ $failure->batch_no }} · row {{ $failure->row_no }}
@if ($failure->reference) · {{ $failure->reference }} @endif
{{ \Carbon\Carbon::parse($failure->created_at)->diffForHumans(short: true) }}
@endforeach
@endif
@endsection