{{ __('team.annual_fee_title') }} {{ $totalCount }}
{{ __('team.annual_fee_hint') }}
@if ($totalCount === 0)
{{ __('team.annual_fee_no_data') }}
@else @php $groupMeta = [ \App\Services\Team\AnnualFeeDueService::GROUP_OVERDUE => ['label' => __('team.annual_fee_group_overdue'), 'badge' => 'badge-danger'], \App\Services\Team\AnnualFeeDueService::GROUP_DUE_1_MONTH => ['label' => __('team.annual_fee_group_due_1_month'), 'badge' => 'badge-warning'], \App\Services\Team\AnnualFeeDueService::GROUP_DUE_2_MONTHS => ['label' => __('team.annual_fee_group_due_2_months'), 'badge' => 'badge-info'], \App\Services\Team\AnnualFeeDueService::GROUP_DUE_3_MONTHS => ['label' => __('team.annual_fee_group_due_3_months'), 'badge' => 'badge-secondary'], ]; @endphp @foreach (\App\Services\Team\AnnualFeeDueService::GROUP_ORDER as $groupKey) @php $rows = $groups[$groupKey] ?? []; @endphp @if (count($rows) > 0)
{{ $groupMeta[$groupKey]['label'] }} {{ count($rows) }}
@foreach ($rows as $row) @endforeach
{{ __('tables.firstname') }} {{ __('tables.lastname') }} {{ __('tables.email') }} {{ __('tables.phone') }} {{ __('tables.mobil') }} {{ __('tables.line') }} {{ __('tables.level') }} {{ __('tables.account_to') }}
{{ $row['first_name'] }} {{ $row['last_name'] }} {{ $row['email'] }} {{ $row['phone'] !== '' ? $row['phone'] : '-' }} {{ $row['mobil'] !== '' ? $row['mobil'] : '-' }} {{ $row['line'] }} {{ $row['level_name'] !== '' ? $row['level_name'] : '-' }} {{ formatDate($row['due_date']) }}
@endif @endforeach @endif