@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 }}% |
@forelse($each->flight_number as $fltNo => $monthArray)
{!! $CURRENT_IATA_CODE.' '.$fltNo !!}-
@foreach($monthArray as $monthName => $daysArray)
@if ($monthName != "airport")
{!! $monthName." ".implode(',', $daysArray) !!},
@endif
@endforeach
@empty
@endforelse
|
@lang("content.total") |
{{ $total }} |
100% |