@php if (strlen($job->internal_id) == 9){ $substr_count = -5; } elseif (strlen($job->internal_id) == 8){ $substr_count = -4; } elseif (strlen($job->internal_id) == 7){ $substr_count = -3; } @endphp

{{substr($job->internal_id, 0, 4)}}{{substr($job->internal_id, $substr_count)}} ({{ $job->part }}/{{ $job->allJobs->count() }})

{{ $job->user->company_name }}

{{ ucfirst($job->name) }}

{{ $job->cnc }} -- {{ $job->material_type == 'other' ? $job->other_material : $job->material_type }}

@if (is_null($job->white_sheet_24) && is_null($job->white_sheet_36)) @else @if ($job->white_sheet_24 > 0) {{ ceil($job->white_sheet_24) }}@2412    @endif @if ($job->white_sheet_36 > 0) {{ ceil($job->white_sheet_36) }}@3618 @endif    @if($job->white_offcut && !is_null($job->offcut_length) && !is_null($job->offcut_width)) offcut({{ $job->offcut_length }}x{{ $job->offcut_width }}) @endif @endif

@if ($job->carcase_wrap == 'Yes')

WRAP CABINETS

@else

DON'T WRAP

@endif @if ($job->black_edge == 'Yes')

Black Edge

@else

White Edge

@endif

 

 

DONE ___

 

 

 

 

RECUTS

DONE ___

EDGES CHECKED

DONE ___

COUNTED

DONE ___

SPECIAL INSTRUCTIONS

{!! $job->special_packing !!}
@if ($job->delivery_date == $job->production_handover_date)

PRIORITY

@endif

{{ \Carbon\Carbon::createFromFormat('d-m-Y', $job->delivery_date)->format('l d/m') }} {{ strtoupper($job->delivery_date_period ?? 'pm') }}

@if ($job->delivery_required == 'Yes') @else @endif
@if ($job->forklift_pickup == 'Yes') @php $pallet = "2400x1200 or 1800x1200"; @endphp Pallet: {{ $job->pallet }} and {{ $job->custom_pallet }} @elseif ($job->forklift_pickup == 'No') @else @endif

@if($otherParts->count())

Other Parts

@foreach ($otherParts as $key => $part)

{{$key+1}}. @if($part->job_type == "Carcase") {{ $part->material_type == 'other' ? $part->other_material : $part->material_type }} @elseif ($part->job_type == "Doors/Panels") @if ( !is_null($part->supplier) || !is_null($part->colour) || !is_null($part->thickness)) @if ( !is_null($part->supplier) ) {{ $part->supplier }} - @endif @if ( !is_null($part->colour) ) {{ $part->colour }} - @endif @if ( !is_null($part->thickness) ) {{ $part->thickness }} @endif @if (!is_null($part->edge_tape)) ({{ $part->edge_tape }}m) @endif @else White Satin @endif @else Hardware @endif

@endforeach @endif

RELEASED BY ________________

RECEIVED BY ________________

DATE _____________________