SCHEDULED PREVENTIVE MAINTENANCE (PM) REPORT AS OF {{\Carbon\Carbon::now()->toFormattedDateString()}}

@foreach($view_vehicle_service_follow_ups as $index=> $view_vehicle_service_follow_up) odometer_after_last_service_by_routes - $view_vehicle_service_follow_up->next_service_km)>1) style="background: #ff794e" @endif> @endforeach
S/N TRUCK DETAILS LAST SERVICE NEXT SERVICE KM DUE
TRUCK MAKE KM READING(BY TRIP) TYPE DATE DONE AT(KM) TYPE KM
{{++$index}} {{$view_vehicle_service_follow_up->truck}} {{$view_vehicle_service_follow_up->make}} {{number_format($view_vehicle_service_follow_up->odometer_after_last_service_by_routes+$view_vehicle_service_follow_up->odometer)}} {{$view_vehicle_service_follow_up->service_km}} {{\Carbon\Carbon::parse($view_vehicle_service_follow_up->date)->toFormattedDateString()}} {{number_format($view_vehicle_service_follow_up->odometer)}} {{$view_vehicle_service_follow_up->next_service_km}} {{number_format($view_vehicle_service_follow_up->next_service_km+$view_vehicle_service_follow_up->odometer)}} {{number_format($view_vehicle_service_follow_up->odometer_after_last_service_by_routes - $view_vehicle_service_follow_up->next_service_km)}}