{{ $total_data['title'] }} ZA DZIEŃ: {{ $total_data['pdf_data']['day'] }}

Statystyki
@foreach ($total_data['pdf_data']['day_data'] as $city_name => $stats) @endforeach
Miasto Liczba graczy
(płatności gotówką)
Liczba wydarzeń
(zaplanowanych)
Średnia
(płatności gotówką)
{{ $city_name }} {{ $stats['attendance'] }} ({{ $stats['cash_payments'] }}) {{ $stats['games'] }} ({{ $stats['allGames'] }}) {{ $stats['games'] == 0 ? '0(0)' : intval($stats['attendance'] / $stats['games']) . '(' . round($stats['cash_payments'] / $stats['games'], 2) . ')' }}
RAZEM {{ $total_data['pdf_data']['total_day_data']['total_att'] }} {{ $total_data['pdf_data']['total_day_data']['total_games'] }} ({{ $total_data['pdf_data']['total_day_data']['allGames'] }})
Uwagi z raportów
@foreach ($total_data['pdf_data']['daily_reports'] as $report)
{{ $report['presenter'] . ' (' . $report['place'] . ')' }}
Treść: {{ $report['comment'] }}
@endforeach

{{ $total_data['title'] }} ZA MIESIĄC: {{ $total_data['pdf_data']['month'] }}

@foreach ($total_data['pdf_data']['month_data'] as $city_name => $stats) @endforeach
Miasto Liczba graczy
(płatności gotówką)
Liczba wydarzeń
(zaplanowanych)
Średnia
(płatności gotówką)
Poprzedni miesiąc - średnia
{{ $city_name }} {{ $stats['attendance'] }} ({{ $stats['cash_payments'] }}) {{ $stats['games'] }} ({{ $stats['allGames'] }}) {{ $stats['games'] == 0 ? '' : intval($stats['attendance'] / $stats['games']) }} ({{ $stats['games'] == 0 ? '' : intval($stats['cash_payments'] / $stats['games']) }}) @if (key_exists($city_name, $total_data['lastmonth_data']['month_data'])) {{ intval($total_data['lastmonth_data']['month_data'][$city_name]['attendance'] / $total_data['lastmonth_data']['month_data'][$city_name]['games']) }} ({{ intval($total_data['lastmonth_data']['month_data'][$city_name]['cash_payments'] / $total_data['lastmonth_data']['month_data'][$city_name]['games']) }}) @endif
RAZEM {{ $total_data['pdf_data']['total_month_data']['total_att'] }} ({{ $total_data['pdf_data']['total_month_data']['total_att_cash'] }}) {{ $total_data['pdf_data']['total_month_data']['total_games'] }} ({{ $total_data['pdf_data']['total_month_data']['allGames'] }}) {{ $total_data['pdf_data']['total_month_data']['total_games'] > 0 ? intval($total_data['pdf_data']['total_month_data']['total_att'] / $total_data['pdf_data']['total_month_data']['total_games']) : 0 }} ({{ $total_data['pdf_data']['total_month_data']['total_games'] > 0 ? intval($total_data['pdf_data']['total_month_data']['total_att_cash'] / $total_data['pdf_data']['total_month_data']['total_games']) : 0 }}) {{ $total_data['lastmonth_data']['total_month_data']['total_games'] > 0 ? intval($total_data['lastmonth_data']['total_month_data']['total_att'] / $total_data['lastmonth_data']['total_month_data']['total_games']) : 0 }} ({{ $total_data['lastmonth_data']['total_month_data']['total_games'] > 0 ? intval($total_data['lastmonth_data']['total_month_data']['total_att_cash'] / $total_data['lastmonth_data']['total_month_data']['total_games']) : 0 }})

STATYSTYKI ODWOŁANYCH WYDARZEŃ ZA MIESIĄC: {{ $total_data['pdf_data']['month'] }}

@foreach ($total_data['pdf_data']['month_data'] as $city_name => $stats) @endforeach
Miasto Odwołane łącznie Przez lokal Brak prowadzenia Inne Nie odbyło się
{{ $city_name }} {{ $stats['canceled']['all'] ?? 0 }} {{ $stats['canceled']['place'] ?? 0 }} {{ $stats['canceled']['no_host'] ?? 0 }} {{ $stats['canceled']['other'] ?? 0 }} {{ $stats['canceled']['not_held'] ?? 0 }}
RAZEM {{ $total_data['pdf_data']['total_month_data']['canceled']['all'] ?? 0 }} {{ $total_data['pdf_data']['total_month_data']['canceled']['place'] ?? 0 }} {{ $total_data['pdf_data']['total_month_data']['canceled']['no_host'] ?? 0 }} {{ $total_data['pdf_data']['total_month_data']['canceled']['other'] ?? 0 }} {{ $total_data['pdf_data']['total_month_data']['canceled']['not_held'] ?? 0 }}
@if(!empty($total_data['pdf_data']['cancelled_reports']))
Powody odwołań dla "inne":
@foreach($total_data['pdf_data']['cancelled_reports'] as $report)
{{ $report['presenter'] . " (" . $report['place'] . ")"}}
Treść: {{$report['comment']}}
@endforeach
@endif