Last Service Expiry Alert Report

UNIT Driver Name Past Due Past Due Date
@if(empty($trucksLastService)) N/A @else {{ $trucksLastService->UNIT_ID }} @endif {{ empty($trucksLastService->NAME) ? 'N/A' : $trucksLastService->NAME }} {{ \Carbon\Carbon::parse($trucksLastService->LAST_SERVICE)->diffInDays(\Carbon\Carbon::now(),false) }} {{ \Carbon\Carbon::parse($trucksLastService->LAST_SERVICE)->format('Y-m-d') }}