@lang("content.punctuality_by_station")

@php $futureDates = strtotime($dateFrom) > strtotime(date("Y-m-d")) @endphp @if (!$futureDates && isset($categories) && count($categories)) @foreach($categories as $category) @endforeach @endif @if (!$futureDates && isset($categories) && count($categories)) @foreach($categories as $category) @if($category == "above_60_mins") @else @endif @endforeach @endif @if (isset($foundAirports) && count($foundAirports) && count($airportsByCategory)) @foreach($foundAirports as $airport) @if (!$futureDates) @foreach($categories as $i => $category) @if (!isset($totalByCategory[$category])) @php $totalByCategory[$category] = 0 @endphp @endif @php $bgClass = getPunctualityBgClass($category) @endphp @php $currentAirport = isset($airportsByCategory[$i][$airport]) ? $airportsByCategory[$i][$airport] : false @endphp @if ($currentAirport) @if($category == "above_60_mins") @else @endif @endif @endforeach @endif @endforeach @endif @include("home.handling.total-result", ["futureDates" => $futureDates])
@lang("content.total_flights"){{ trans("content.{$category}") }}
@lang("content.station")@lang("content.percentage") %@lang("content.percentage"), %@lang("content.flights")
{{ $airport }} {{ $airportsByCategory[$airport] }}
{{ $currentAirport->percentage }}%
@php $labelClass = $currentAirport->percentage < 15 ? "color-black" : "" @endphp
{{ $currentAirport->percentage }}%
{{ $currentAirport->count }}