@include('partials.pdf-letterhead', ['title' => $title, 'meta' => __('Selected people')])

{{ __('Current outstanding balances. Date and document filters restrict original entries, not the payment cutoff date. Negative amounts are unapplied credits.') }}

@foreach(['q' => 'Keyword', 'account_id' => 'Account', 'person_ids' => 'Persons', 'document_numbers' => 'Document numbers', 'journal_numbers' => 'Journal numbers', 'document_type' => 'Document type', 'year' => 'Journal year', 'date_from' => 'Posting date from', 'date_to' => 'Posting date to', 'due_from' => 'Due date from', 'due_to' => 'Due date to'] as $key => $label) @if(!empty($filters[$key])){{ __($label) }}: {{ is_array($filters[$key]) ? implode(', ', $filters[$key]) : $filters[$key] }} | @endif @endforeach {{ __('Include zero balances') }}: {{ empty($filters['include_zero']) ? __('No') : __('Yes') }}

@forelse($people as $index => $person) @empty @endforelse
#{{ __('Person') }}{{ __('Balance') }}
{{ $index + 1 }}{{ $person->first_name }} {{ $person->last_name }}{{ number_format((float) $person->balance, 2) }}
{{ __('No matching balances.') }}
{{ __('Total') }}{{ number_format((float) $total, 2) }}