{{-- wrapper --}}
{{-- filtersRow --}}
{{-- 1: bank --}}
{{-- 2: FromDate --}}
{{-- 3: untilDate --}}
{{-- endFilters --}} {{-- ------------------------------------------------------------------ --}} {{-- ------------------------------------------------------------------ --}} {{-- tableRow --}}
{{-- empty --}}
{{-- title --}}

{{__('Banks Report')}}

{{-- counter --}}

{{ $clientsList?->count() ?? 0 }}

{{-- ----------------------------------- --}} {{-- ----------------------------------- --}} {{-- table --}}
{{-- headers --}} {{-- loop - statuses --}} @foreach ($statuses ?? [] as $status) @endforeach {{-- end statuses --}} {{-- endHeaders --}} {{-- -------------------------------------- --}} {{-- -------------------------------------- --}} {{-- tbody --}} {{-- loop - clients --}} @foreach ($clientsList ?? [] as $client) {{-- loop - statuses --}} @foreach ($statuses ?? [] as $status) @endforeach {{-- end loop - statuses --}} @endforeach {{-- end loop - banks --}}
{{ __('Bank') }}{{__($status)}}
{{ $client->{__('name')} }}{{ ($reportFiles?->where('clientId', $client->id)?->where('status', $status)?->count() ?? 0) + ($executionFiles?->where('clientId', $client->id)?->where('status', $status)?->count() ?? 0) }}
{{-- endTable --}}
{{-- endCol --}}
{{-- end row --}} {{-- ----------------------------------------------------- --}} {{-- ----------------------------------------------------- --}} {{-- selectHandle --}} {{-- ----------------------------------------------------- --}} {{-- ----------------------------------------------------- --}}
{{-- endWrapper --}}