{{-- KPIs (بالترتيب المطلوب) --}}
@php
$rowsCount = is_countable($details ?? []) ? count($details) : 0;
@endphp
{{ __('installments_vault_report.total_transactions') }}
{{ $rowsCount }}
{{ __('installments_vault_report.opening_balance') }}
{{ number_format($opening_balance ?? 0, 2) }} {{ __('installments_vault_report.currency') }}
{{ __('installments_vault_report.period_payments') }}
{{ number_format($total_paid ?? 0, 2) }} {{ __('installments_vault_report.currency') }}
{{ __('installments_vault_report.closing_balance') ?? 'الرصيد الختامي' }}
{{ number_format($closing_balance ?? 0, 2) }} {{ __('common.currency') ?? 'جنيه' }}
{{-- Table --}}