@php $pictures = ''; $pdfs = ''; $companyJobUpdates = (isset($companyjob->companyJobUpdates) ? $companyjob->companyJobUpdates->load(['companyJobFile'=>function($query){ return $query->withTrashed(); }]) : collect([])); @endphp @if(isset($companyJobUpdates) && $companyJobUpdates->count() > 0)
Name : {{ $companyJobUpdate->companyJob->name }}
Before : {{ $companyJobUpdate->before }}
After : {{ $companyJobUpdate->after }}
Description : {{ $companyJobUpdate->companyJob->description }}
Before : {{ $companyJobUpdate->before }}
After : {{ $companyJobUpdate->after }}
Job Start Date : {{ date('dS, F Y',strtotime($companyJobUpdate->companyJob->job_start_date)) }}
Before : {{ $companyJobUpdate->before }}
After : {{ $companyJobUpdate->after }}
Job End Date : {{ date('dS, F Y',strtotime($companyJobUpdate->companyJob->job_end_date)) }}
Before : {{ $companyJobUpdate->before }}
After : {{ $companyJobUpdate->after }}
Maintenance : {{ $job_maintenace_status[$companyJobUpdate->companyJob->maintenance] }}
Before : {{ $companyJobUpdate->before }}
After : {{ $companyJobUpdate->after }}
CCDC : {{ ($companyJobUpdate->companyJob->ccdc == 1 ? 'Yes' : 'No') }}
Before : {{ $companyJobUpdate->before }}
After : {{ $companyJobUpdate->after }}
Picture : {{ $companyJobUpdate->companyJobFile->name }}
Remark : {{ $companyJobUpdate->companyJobFile->remark }}
{{ $companyJobUpdate->before }}
{{ $companyJobUpdate->after }}
PDF : {{ $companyJobUpdate->companyJobFile->name }}
Remark : {{ $companyJobUpdate->companyJobFile->remark }}
{{ $companyJobUpdate->before }}
{{ $companyJobUpdate->after }}