@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; } else { $substr_count = 0; } @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 }} -- @if ( !is_null($job->supplier) || !is_null($job->colour) || !is_null($job->thickness)) @if ( !is_null($job->supplier) ) {{ $job->supplier }} - @endif @if ( !is_null($job->colour) ) {{ $job->colour }} - @endif @if ( !is_null($job->thickness) ) {{ $job->thickness }} @endif @if (!is_null($job->edge_tape)) ({{ $job->edge_tape }}m) @endif @endif

@if ( !is_null($job->supplier) || !is_null($job->colour) || !is_null($job->thickness)) @if (!is_null($job->colour_sheets_size) && $job->colour_sheets_size) @foreach ($job->colour_sheets_size ?? [] as $size) {{ $size['qty'].'@'.($size['length'] ?? 0).''.($size['width'] ?? 0) }} @if (!$loop->last)    @endif @endforeach @else @endif @endif    @if($job->colour_offcut && !is_null($job->offcut_length) && !is_null($job->offcut_width)) Offcut({{ $job->offcut_length }}x{{ $job->offcut_width }}) @endif

{{ $job->customer_supplied == 'Yes' ? 'Client Supply': 'TC Supply'}}

@if ($job->return_offcut_edge == 'No' || $job->return_offcut_board == 'No')

Edge - {{ $job->return_offcut_edge }}

Board - {{ $job->return_offcut_board }}

@else

Edge - {{ $job->return_offcut_edge }}

Board - {{ $job->return_offcut_board }}

@endif

TO BE CUT DOWN ___

 

TOTAL AFTER CUT ___

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 _____________________