@lang("content.punctuality")

@php $backgroundColors = ['rgba(0, 202, 14, 0.5)', 'rgba(149, 246, 153,0.5)', 'rgba(251, 147, 147,0.5)', 'rgba(250, 106, 106,0.5)', 'rgba(221, 0, 0,0.5)'] @endphp @php $total = 0 @endphp @foreach($flightsByCategory as $index => $each) @php $total += $each->count @endphp @endforeach
@lang("content.time") No. %
{{ trans("content.".$categories[$index]) }} {{ $each->count }} {{ $each->percentage }}%
@lang("content.total") {{ $total }} 100%