@extends ('layouts.in') @section ('body')
@if ($users_multiple)
@endif @if ($vehicles_multiple)
@endif @if ($devices_multiple)
@endif
@if ($country)
@endif @if ($state)
@endif @if ($country)
@endif
@if (isset($list))
@if ($vehicles_multiple) @endif @if ($devices_multiple) @endif @foreach ($list as $row) @php ($link = route('trip.update.map', $row->id)) @if ($vehicles_multiple) @endif @if ($devices_multiple) @endif @endforeach
{{ __('trip-index.vehicle') }}{{ __('trip-index.device') }}{{ __('trip-index.name') }} {{ __('trip-index.start_at') }} {{ __('trip-index.end_at') }} {{ __('trip-index.distance') }} {{ __('trip-index.time') }} {{ __('trip-index.shared') }} {{ __('trip-index.shared_public') }} {{ __('trip-index.actions') }}
{{ $row->vehicle->name }}{{ $row->device->name }}{{ $row->name }} {{ $row->start_at }} {{ $row->end_at }} @unitHuman('distance', $row->distance) @timeHuman($row->time) @status($row->shared) @status($row->shared_public) @icon('edit', 'w-4 h-4') @icon('bar-chart-2', 'w-4 h-4') @icon('map', 'w-4 h-4') @icon('map-pin', 'w-4 h-4') @icon('bell', 'w-4 h-4') @icon('git-merge', 'w-4 h-4') @icon('package', 'w-4 h-4')
@unitHuman('distance', $list->sum('distance')) @timeHuman($list->sum('time'))
@endif @stop