@extends('Frontend.Reports.partials.layout') @section('styles') @stop @section('content') @foreach ($report->getItems() as $item)
@include('Frontend.Reports.partials.item_heading') @if (isset($item['error'])) @include('Frontend.Reports.partials.item_empty') @else
{{ trans('front.koc_group') }}:
{{ trans('front.vehicle_registration_number') }}: {{ array_get($report->metas('device'), 'device.registration_number.value') }}
{{ 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) !!}: {{ $item['totals']['duration']['value'] }}
{!! rtl(trans('front.total') . ' ' . trans('global.distance'), $data) !!}: {{ $item['totals']['distance']['value'] }}
{!! rtl(trans('front.number_of_overspeeds'), $data) !!}: {{ $item['totals']['overspeed_count']['value'] }}
{!! rtl(trans('front.highest_recorded_speed'), $data) !!}: {{ $item['totals']['speed_max']['value'] }}
{!! rtl(trans('front.speed_perf_percent'), $data) !!}: {{ round(100 - (($item['totals']['overspeed_distance']['value'] / $item['totals']['distance']['value']) * 100), 1) }}
{!! rtl(trans('front.time_period'), $data) !!}: {{ Formatter::time()->human($report->getDateFrom()) }} - {{ Formatter::time()->human($report->getDateTo()) }}
#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') }} {{ trans('front.start_time') }} {{ trans('front.end_time') }} {{ trans('front.overspeed_duration_os') }} {{ trans('front.overspeed_distance_os') }} {{ trans('front.tamper_signs') }} {{ trans('front.seatbelt_usage') }} {{ trans('front.remark') }}