MSC Combined Report

Scope: {{ $package['branchName'] }}

Period: {{ \Carbon\Carbon::parse($package['from'])->format('d M Y') }} — {{ \Carbon\Carbon::parse($package['to'])->format('d M Y') }}

Totals as of: {{ \Carbon\Carbon::parse($package['to'])->format('d M Y') }} (latest report per branch on or before this date)

Reports submitted in period: {{ $package['submitted_count'] }} of {{ $package['report_count'] }}

Generated: {{ now()->format('d M Y H:i') }}

@if(!empty($package['totals']))

Combined totals

@foreach($package['totals'] as $metric => $value) @endforeach
Metric Total
{{ $metric }} {{ number_format($value) }}
@endif @if(!empty($package['branches']))

Breakdown by branch

@foreach($package['branches'] as $row) @endforeach
Branch Latest report Members Savings Share capital Loan portfolio
{{ $row['branch'] }} {{ $row['latest_report_date'] }} {{ number_format($row['Membership'] ?? 0) }} {{ number_format($row['Savings'] ?? 0) }} {{ number_format($row['Share Capital'] ?? 0) }} {{ number_format($row['Outstanding Portfolio'] ?? 0) }}
@endif