@extends('Frontend.Reports.parse.layout') @section('content') @foreach ($devices as $device)
| {{ rtl(trans('validation.attributes.device_id'), $data) }}: | {{ rtl($device['name'], $data) }} | ||
| {!! rtl(trans('front.time_period'), $data) !!}: | {{ $data['date_from'] }} - {{ $data['date_to'] }} |
| {{ rtl(trans('front.zone_out'), $data) }} | {{ rtl(trans('front.area_starting'), $data) }} | {{ rtl(trans('front.zone_in'), $data) }} | {{ rtl(trans('front.area_arrival'), $data) }} | {{ rtl(trans('front.duration'), $data) }} | {{ rtl(trans('global.distance'), $data) }} | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ rtl(trans('front.nothing_found_request'), $data) }} | |||||||||||||||||||
| {{ $last_date = $item['date'] }} | |||||||||||||||||||
| {{ $item['left']['time'] }} | {{ rtl($item['left']['name'], $data) }} | {{ $item['enter']['time'] }} | {{ rtl($item['enter']['name'], $data) }} | {{ $item['duration'] }} | @if($data['unit_of_distance'] == 'mi') {{ kilometersToMiles(round($item['distance'], 2)) }} @else {{ round($item['distance'], 2) }} @endif {{ rtl(trans("front.{$data['unit_of_distance']}"), $data) }} | ||||||||||||||
| Total: | @if($data['unit_of_distance'] == 'mi') {{ kilometersToMiles(round($item_total_distance, 2)) }} @else {{ round($item_total_distance, 2) }} @endif {{ rtl(trans("front.{$data['unit_of_distance']}"), $data) }} | ||||||||||||||||||