@extends('layouts.admin') @section('main-content')

{{ __('Admin Dashboard') }}

Jumlah Perserta
{{ $totalMembers }}
Jumlah Plan
{{ $totalPlan }}
Jumlah Bayaran (KP)
{{ $totalPaymentMadeLeader }}
Jumlah Bayaran (Bonda)
{{ $totalPaymentMadeManagement }}
Jumlah Bayaran Tertunggak (KP)
{{ $totalDuePaymentLeader }}
Jumlah Bayaran Tertunggak (Bonda)
{{ $totalDuePaymentManagement }}
@foreach ($kpList as $id => $detail) {{-- plan total | total modal | total po kp --}}
Jumlah Plan ({{ $detail->name }})
{{ $detail->total_plan }}
Jumlah Modal ({{ $detail->name }})
RM {{ number_format($planDetails[$id]->total_modal/100, 2) }}
Jumlah PO ({{ $detail->name }})
RM {{ number_format($planDetails[$id]->total_po_kp/100, 2) }}
@endforeach
@endsection @push('scripts') @endpush