@extends('layout.app') @section('title', 'Log Daily KM - ' . ($selectedVehicle->vehicle_no ?? 'Select Truck')) @push('header_script') @endpush @section('content')
Back to List
@if($errors->any()) @endif
@csrf @if(isset($redirectTo)) @endif
Yesterday KM - 0
@if(!empty($assignedDriverId))
@else
@endif
Pending Servicing
@if(!empty($pendingServices) && count($pendingServices) > 0)
@foreach($pendingServices as $service)
{{ $service['name'] ?? 'Service' }} Due
@if(isset($service['km_overdue'])) Overdue by {{ number_format($service['km_overdue']) }} KM @endif
@endforeach
@else
All servicing is up to date for this truck.
@endif
Previous Logs for {{ $selectedVehicle->vehicle_no ?? 'Selected Truck' }}
S.No. Date Time Place Start KM Running KM Today KM GPS KM Diff in KM Status Driver Name Contact No. Created By Action
@endsection @push('footer_script') @endpush