@extends('Frontend.Reports.parse.layout') @section('styles') @stop @section('content') @foreach ($devices as $device) @if ( ! empty($items[$device['id']]))
{{ rtl(trans('front.report_type'), $data) }}: {{ rtl($types[$data['type']], $data) }}
{{ trans('front.koc_group') }}:
{{ trans('front.vehicle_registration_number') }}: {{ $data['registration_number'] }}
{{ trans('front.contract_number') }}:
{{ trans('front.contract_title') }}:
{{ trans('front.contractor_name') }}:
{{ trans('front.controlling_team') }}:
{{ trans('front.vehicle_pass_expiry_date') }}:
{!! rtl(trans('front.total') . ' ' . trans('front.travel_time'), $data) !!}: {{ $data['duration'] }}
{!! rtl(trans('front.total') . ' ' . trans('global.distance'), $data) !!}: {{ $data['distance'] . ' ' . $data['unit_of_distance'] }}
{!! rtl(trans('front.number_of_overspeeds'), $data) !!}: {{ $data['overspeeds_count'] }}
{!! rtl(trans('front.highest_recorded_speed'), $data) !!}: {{ $data['max_speed'] . ' ' . $data['unit_of_distance'] . '/h' }}
{!! rtl(trans('front.speed_perf_percent'), $data) !!}: {{ ( ! is_null($data['speed_perf'])) ? $data['speed_perf'] . '%' : '' }}
{!! rtl(trans('front.time_period'), $data) !!}: {{ $data['date_from'] }} - {{ $data['date_to'] }}
@foreach ($items[$device['id']] as $index => $item) @endforeach
#SL {{ trans('global.date') }} {{ trans('validation.attributes.plate_number') }} {{ trans('front.overspeed_location') }} {{ trans('front.recorded_speed') }} {{ trans('front.heading_direction') }} {{ trans('front.allowed_speed_limit') . '(' . lcfirst(trans('front.' . $data['unit_of_distance'])) . '/h)' }} {{ trans('front.start_time') }} {{ trans('front.end_time') }} {{ trans('front.overspeed_duration_os') }} {{ trans('front.overspeed_distance_os') . '(' . lcfirst(trans('front.' . $data['unit_of_distance'])) . ')' }} {{ trans('front.tamper_signs') }} {{ trans('front.seatbelt_usage') }} {{ trans('front.remark') }}
{{ $index }} {{ $item['date'] }} {{ $item['plate_number'] }} {{ is_null($item['address']) ? $item['lat'] . ', ' . $item['lng'] : $item['address'] }} {{ $item['speed'] }} {{ $item['course'] }} {{ $item['allowed_speed'] }} {{ $item['start_time'] }} {{ $item['end_time'] }} {{ $item['duration'] }} {{ $item['distance'] }} {{ $item['tamper'] }} {{ $item['seat_belt'] }} {{ $item['remarks'] }}
@endif @endforeach @stop