@extends('layout.index') @section('title', 'Vehicle OverSpeed Report ') @section('content') @php use Carbon\Carbon; @endphp
@if($aOverspeed) @if(count($aOverspeed)) @php $i = 0; @endphp @foreach ($aOverspeed as $val) @php $counter = 0; $p = 0; $datetime_count = count($val['all_data']["datetime"]); @endphp @foreach($val['all_data']["speed"] as $value) @php $rowSpan = count($val['all_data']["speed"]); @endphp @if($counter == 0) @php $i++; $counter ++; @endphp @endif @if($p <= $datetime_count) @php $p++ @endphp @endif @endforeach @endforeach @else @endif @endif
Sr.No Vehicle Number Date Time Speed
{{ $i }} {{ $val['vehicle_number'] }}{{ date('d-m-Y', $val['all_data']["datetime"][$p]) }} {{ date('h:i:s', $val['all_data']["datetime"][$p]) }}{{ $value }}
No Record Found.
{{ $aOverspeed->links() }}
@endsection