@sortablelink('name', __('common.name')) |
@sortablelink('rank.name', __('DBasic::common.rank')) |
@if(empty($airline_view))
@sortablelink('airline.name', __('DBasic::common.airline')) |
@endif
@if(!isset($type) || isset($type) && $type != 'hub')
@sortablelink('home_airport_id', __('DBasic::common.base')) |
@endif
@if(!isset($type) || isset($type) && $type != 'visitor')
@sortablelink('curr_airport_id', __('DBasic::common.location')) |
@endif
@if(!isset($type))
@lang('DBasic::common.awards') |
@endif
@sortablelink('flights', __('DBasic::common.flights')) |
@sortablelink('flight_time', __('DBasic::common.ftime')) |
@if(isset($state_badge))
@sortablelink('state', __('DBasic::common.state')) |
@endif
@if(!isset($type))
@lang('DBasic::common.last_flt')
@endif
|
@foreach($users as $user)
state != 1) {!! DB_UserState($user, 'row') !!} @endif>
{{ $user->name_private }}
|
{{ optional($user->rank)->name }}
|
@if(empty($airline_view))
{{ optional($user->airline)->name }}
|
@endif
@if(!isset($type) || isset($type) && $type != 'hub')
{{ $user->home_airport->full_name ?? $user->home_airport_id }}
|
@endif
@if(!isset($type) || isset($type) && $type != 'visitor')
{{ $user->current_airport->full_name ?? $user->curr_airport_id }}
|
@endif
@if(!isset($type))
@if($user->awards_count > 0)
@endif
|
@endif
@if($user->flights > 0) {{ number_format($user->flights) }} @endif
|
@if(Theme::getSetting('roster_combinetimes'))
{{ DB_ConvertMinutes(($user->flight_time + $user->transfer_time), '%2dh %2dm') }}
@else
{{ DB_ConvertMinutes($user->flight_time, '%2dh %2dm') }}
@endif
|
@if(isset($state_badge))
{!! DB_UserState($user) !!}
|
@endif
@if(!isset($type))
@if($user->last_pirep)
{{ $user->last_pirep->submitted_at->diffForHumans() }}
@endif
|
@endif
@endforeach