@extends ('layouts.in') @section ('body') {{--$shared_public--}}
{{--
--}} @if ($users_multiple)
@endif
{{-- --}} {{-- div class="lg:ml-4 mt-2 lg:mt-0 bg-white"> {{ __('trip-index.search') }}
--}}
@if ($user_empty) @endif {{-- @if ($vehicle_empty) --}} {{-- @endif --}} @if ($device_empty) @endif {{-- --}} @foreach ($list as $row) @php ($link = route('trip.update.map', $row->id)) @if ($user_empty) @endif {{-- @if ($vehicle_empty) --}} {{-- @endif --}} @if ($device_empty) @endif {{-- --}} @endforeach
{{ __('trip-index.user') }}{{ __('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->user->name }}{{ $row->vehicle->name }}{{ $row->device->name }}{{ $row->name }}@dateLocal($row->start_at) @dateLocal($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'))
@stop