@foreach($view_job_cards as $view_job_card)
{{$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)
{{ ++$key}} |
{{ strtoupper($view_jobs_card_defect->defect) }} |
@endforeach
|
Service Done |
@foreach ($view_job_card->jobCardCompleteServices as $sn => $job_card_complete_service)
{{ ++$sn }} |
{{ strtoupper($job_card_complete_service->service->name) }} |
{{ ucfirst($job_card_complete_service->description) }} |
@endforeach
|
@if(sizeof($view_job_card->jobCardPendingTasks()))
Task left Pending |
@foreach ($view_job_card->jobCardPendingTasks() as $sn => $job_card_complete_service)
{{ ++$sn }} |
{{ strtoupper($job_card_complete_service->service->name) }} |
{{ ucfirst($job_card_complete_service->description) }} |
@endforeach
|
@endif
@endforeach