@extends('Frontend.Reports.partials.layout') @section('content') @foreach ($report->getItems() as $item)
@include('Frontend.Reports.partials.item_heading') @if (isset($item['error'])) @include('Frontend.Reports.partials.item_empty') @else @if ( ! empty($item['table']))
@if ($report->zones_instead) @endif @foreach ($item['table']['rows'] as $row) @if ($report->zones_instead) @endif @endforeach
{{ trans('front.start') }} {{ trans('front.end') }} {{ trans('front.duration') }} {{ trans('front.engine_idle') }} {{ trans('front.driver') }} {{ trans('front.stop_position') }}{{ trans('front.geofences') }}
{{ $row['start_at'] }} {{ $row['end_at'] }} {{ $row['duration'] }} {{ $row['engine_idle'] }} {{ $row['drivers'] }} {!! $row['location'] !!}{{ array_get($row, 'geofences_in') }}
@endif @include('Frontend.Reports.partials.item_total') @endif
@endforeach @stop