Rendering engine
Reg: {{$vehicle->registration_number}}
Chassis: {{$vehicle->chasis_number}}
Model: {{$vehicle->model}}
Rendering engine
Make: {{$vehicle->make}}
Model: {{$vehicle->manufacture_year}}
Reg: {{$vehicle->colour}}

Job-card History

@foreach($view_job_cards as $view_job_card) @if(sizeof($view_job_card->jobCardPendingTasks())) @endif @endforeach
Job card ID Created Date Created By Job Card From
{{$view_job_card->id}} {{$view_job_card->date}} {{$view_job_card->created_by}} {{ $view_job_card->reported_as =='INCIDENT' ? 'INCIDENT NO : '.$view_job_card->reference : 'INSPECTION NO: '.$view_job_card->reference }}
Defects
@foreach($view_job_card->viewJobsCardDefects as $key => $view_jobs_card_defect) @endforeach
{{ ++$key}} {{ strtoupper($view_jobs_card_defect->defect) }}
Service Done
@foreach ($view_job_card->jobCardCompleteServices as $sn => $job_card_complete_service) @endforeach
{{ ++$sn }} {{ strtoupper($job_card_complete_service->service->name) }} {{ ucfirst($job_card_complete_service->description) }}
Task left Pending
@foreach ($view_job_card->jobCardPendingTasks() as $sn => $job_card_complete_service) @endforeach
{{ ++$sn }} {{ strtoupper($job_card_complete_service->service->name) }} {{ ucfirst($job_card_complete_service->description) }}