@include('partials.pdf-letterhead', ['title' => __('Account statement'), 'meta' => $person->first_name.' '.$person->last_name])

{{ __('Posting date from') }}: {{ $filters['date_from'] ?? __('All') }} | {{ __('Posting date to') }}: {{ $filters['date_to'] ?? __('All') }}

{{ __('Selected movements only. Running balances retain all statement movements, including unselected rows. Summary totals describe the full period for the accounts shown.') }}

@include('accounting.balances._statement-totals') @include('accounting.balances._statement-table', ['selectable' => false])

{{ __('Selected') }}: {{ $movements->count() }} | {{ __('Debit') }}: {{ number_format($movements->sum(fn ($row) => \App\Accounting\Services\BalanceService::cents($row->debit)) / 100, 2) }} | {{ __('Credit') }}: {{ number_format($movements->sum(fn ($row) => \App\Accounting\Services\BalanceService::cents($row->credit)) / 100, 2) }}