@if ($item['status'] == 1)
| {{ rtl($device['name'], $data) }} |
{{ rtl(trans('front.moving'), $data) }} |
{{ $item['show'] }} |
{{ $item['left'] }} |
{{ $item['time'] }} |
{{ $items['data']['unit_of_distance'] == 'mi' ? kilometersToMiles($item['distance']) : $item['distance'] }} {{ trans('front.'.$items['data']['unit_of_distance']) }} |
@if ($item['fuel_consumption'] == 0 && $device['fuel_per_km'] > 0)
{{ $device['fuel_measurement_id'] == 1 ? float($item['distance'] * $device['fuel_per_km']).' '.trans('front.liters') : number_format(litersToGallons(($item['distance'] * $device['fuel_per_km'])), 2, '.', '').' '.trans('front.gallons') }}
@else
{{ float($item['fuel_consumption']).' '.($device['fuel_measurement_id'] == 1 ? trans('front.liters') : trans('front.gallons')) }}
@endif
|
@endif
@if ($item['status'] == 2)
{{ rtl($device['name'], $data) }} |
{{ rtl(trans('front.stopped'), $data) }} |
{{ $item['show'] }} |
{{ $item['left'] }} |
{{ $item['time'] }} |
{{ $item['stop_position']['lat'] }} °, {{ $item['stop_position']['lng'] }} °
@if(!empty($item['stop_position']['address']))
- {{ $item['stop_position']['address'] }}
@endif
|
@endif
@if (isset($data['zones_instead']))
{{ array_key_exists('geofences', $item) ? $item['geofences'] : '' }} |
@endif
@endforeach