@php $pictures = ''; $pdfs = ''; @endphp @if(isset($companyjob->companyJobFiles) && !empty($companyjob->companyJobFiles)) @foreach($companyjob->companyJobFiles as $file) @if($file->type == 0) @php $pictures .= '
'; $pictures .= ''; $pictures .= '
'; $pictures .= '
'; $pictures .= '
'; @endphp @else @php $pdfs .= '
'; $pdfs .= ''; $pdfs .= '
'; $pdfs .= '
'; $pdfs .= '
'; @endphp @endif @endforeach @endif @php $job_maintenace_status = \Config::get('custom.job-maintenance-status'); @endphp

Job Details :

Category : {{ $companyjob->category->name }}

Name : {{ $companyjob->name }}

Description : {{ $companyjob->description }}

Bid End Date : {{ date('dS, F Y',strtotime($companyjob->bid_end_date)) }}

Job Start Date : {{ date('dS, F Y',strtotime($companyjob->job_start_date)) }}

Job End Date : {{ date('dS, F Y',strtotime($companyjob->job_end_date)) }}

Maintenance : {{ (isset($job_maintenace_status[$companyjob->maintenance]) ? $job_maintenace_status[$companyjob->maintenance] : 'N/A') }}

Job Pictures :

{!! $pictures !!}

Job PDF :

{!! $pdfs !!}