@if ($type == 'customer')
{{ ucfirst($job->user->company_name) ?? '-' }}
@elseif ($type == 'job_reference')
{{ ucfirst($job->name) ?? '-' }}
@elseif ($type == 'material')
@if($job->job_type == "Carcase")
{{ $job->material_type == 'other' ? $job->other_material : 'HMR 16mm White' }}
@else
@if( $job->painted == 'No')
@if ( !is_null($job->supplier) )
{{ $job->supplier }} -
@endif
@if ( !is_null($job->colour) )
{{ $job->colour }} -
@endif
@if ( !is_null($job->thickness) )
{{ $job->thickness }}
@endif
@else
@if( $job->white_satin )
18mm White Satin
@endif
@endif
@endif
@elseif ($type == 'point_person')
{{ $job->accountmanager->full_name ?? '-' }}
@elseif ($type == 'sheets')
@if ($job->job_type != 'Carcase')
@if($job->painted == 'Yes')
24x12: {{ $job->white_satin_24 ?? 0 }}
36x18: {{ $job->white_satin_36 ?? 0 }}
@else
{{ $job->sheets_colour ?? 0 }}
@endif
@if($job->colour_offcut)
+ 1 Offcut
@endif
@else
{{ $job->sheets_white ?? 0 }}
@if ($job->white_offcut)
+ 1 offcut
@endif
@endif
@elseif ($type == 'carcase_wrap')
@if ($job->job_type == 'Carcase')
{{ $job->carcase_wrap }}
@else
NA
@endif
@elseif ($type == 'delivery_required')
{{ $job->delivery_required }}
@if ($job->delivery_required == 'Yes')
{{ $job->address_address }}
@else
Forklift Pickup: {{ $job->forklift_pickup }}
@endif
@elseif ($type == 'production_notes')
{!! $job->special_packing !!}
@elseif ($type == 'comments')
@foreach($job->comments as $comment)
@if (!is_null($comment->targetUser) && $comment->targetUser->email == config('app.production_email'))
{{ $comment->body }}
@if (!$loop->last)
,
@endif
@endif
@endforeach
@endif