@lang("content.list")

@php $grandTotal = 0 @endphp @php /** @var \App\Classes\OperationReports\AirlineReport\PeriodData[] $data */ @endphp @foreach($data as $periodData) @php $j = 0; $total = 0; @endphp @foreach($periodData->getRecords() as $each) @php $total += $each->getCounter() @endphp @php $airline = $each->getAirline() @endphp @php $picture = $airline->picture ? asset("storage/airlines/img/{$airline->picture}") : asset("/assets/img/default-airline-picture.png") @endphp @endforeach @php $grandTotal += $total @endphp @endforeach @if ($grandTotal) @endif
No Logo Airline IATA ICAO No. of Flights
{{ $periodData->getPeriod() }}
{{ ++$j }} id}") }}" class=""> id}") }}" class="">{{ $airline->airline }} {{ $airline->iata }} {{ $airline->icao }} {{ $each->getCounter() }}
TOTAL {{ $total }}
GRAND TOTAL {{ $grandTotal }}