{{ $completed ? 'Completed' : 'Active' }} Jobs

@foreach ($jobs as $job) @endforeach
Job Number Client Job Name Part Prod.Complete Material (M) Sheets M.Status Supplied By COD TC Del CNC Notes Production Notes Job.Complete Prod.Date Status Task Status QA M.Order C. Notes
{{ $job->internal_id }}
{{ ucfirst($job->user->company_name) }}
{{ ucfirst($job->user->name) }}
{{ $job->part }}
@if ($job->production_handover_date != "") {{ \Carbon\Carbon::createFromFormat('d-m-Y', $job->production_handover_date)->format('D d-m-y') }} @endif
@if($job->job_type == "Carcase") {{ $job->material_type == 'other' ? $job->other_material : $job->material_type }} @if ($job->black_edge == "Yes") BLACK EGDE @endif @elseif ($job->job_type == "Doors/Panels") @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 @else White Satin @endif @else Hardware @endif
@if ($job->job_type == "Hardware") @else
@if($job->job_type == "Carcase") @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 @endif
@if($job->white_offcut && !is_null($job->offcut_length) && !is_null($job->offcut_width)) Offcut: {{ $job->offcut_length }}x{{ $job->offcut_width }} @endif @else @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 }}x{{ $size['width'] ?? 0 }} @if (!$loop->last)
@endif @endforeach @else @endif @else @if (is_null($job->white_satin_24) && is_null($job->white_satin_36)) @else @if ($job->white_satin_24 > 0) {{ ceil($job->white_satin_24) }}:2412
@endif @if ($job->white_satin_36 > 0) {{ ceil($job->white_satin_36) }}:3618 @endif @if (!is_null($job->colour_sheets_size) && $job->colour_sheets_size) @foreach ($job->colour_sheets_size ?? [] as $size) {{ $size['qty'] }}:{{ $size['length'] ?? 0 }}x{{ $size['width'] ?? 0 }} @if (!$loop->last)
@endif @endforeach @endif @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 @endif
@if ($job->material_status == 'Arrived') @if ($job->edge_tape_recieved == "Yes") @if (!is_null($job->quantity_arrived)) ({{ $job->quantity_arrived }}m) @else @endif @endif @endif
@endif
{{$job->material_status}} @if (!is_null($job->material_sheets_size) && $job->material_status == 'Arrived') @if (!is_null($job->edge_tape)) ({{ $job->edge_tape }}m)
@else
@endif @foreach ($job->material_sheets_size ?? [] as $size) {{ $size['qty'] }}:{{ $size['length'] }} x {{$size['width']}}
@endforeach' @endif
@if ($job->job_type != 'Carcase' && $job->customer_supplied == 'Yes') Client @else TC @endif @if ($job->cod == 'Yes') COD @endif @if ($job->delivery_required == 'Yes') @endif {{ $job->cnc }}
{{ substr($job->notes, 0, 100) }}
{!! $job->special_packing !!} @if ($job->delivery_date != "") {{ \Carbon\Carbon::createFromFormat('d-m-Y', $job->delivery_date)->format('D d-m-y') . ' ' . $job->delivery_date_period }} @endif @if ($job->job_type == 'Carcase') @if ($job->production_date_carcase != "") {{ \Carbon\Carbon::createFromFormat('d-m-Y', $job->production_date_carcase)->format('D d-m-y') }} @endif @else @if ($job->production_date_doors != "") {{ \Carbon\Carbon::createFromFormat('d-m-Y', $job->production_date_doors)->format('D d-m-y') }} @endif @endif @if ( $auth_data['is_customer'] ) @if (!$job->submitted) Job not yet submitted @else
@if ( $job->hold && $job->status != 7) On Hold @else @if ( $job->status == 1 || $job->status == 2 ) New @elseif ( $job->status == 3 || $job->status == 4 ) Scheduled @elseif ( $job->status == 5 ) In-Production @elseif ( $job->status == 6 ) READY TO PICKUP @elseif ( $job->status == 7 ) Complete @elseif ( $job->status == 8 ) Design WOI @elseif ( $job->status == 9 ) Design QC @elseif ( $job->status == 10 ) Design WRAP @endif @endif
@endif @else @if ( $job->status == 1 ) New @elseif ( $job->status == 2 ) Design WIP @elseif ( $job->status == 3) Ready To Schedule @elseif ( $job->status == 4) Scheduled @elseif ( $job->status == 5 ) In-Production @elseif ( $job->status == 6 ) READY TO PICKUP @elseif ( $job->status == 7 ) Complete @elseif ( $job->status == 8 ) Design WOI @elseif ( $job->status == 9 ) Design QC @elseif ( $job->status == 10 ) Design WRAP @endif @endif
@if ($job->job_type != "Hardware") @if ($job->status <= 4) Not Started @elseif ($job->status == 6 || $job->status == 7) Complete @else @if($job->hasTask('CUT') && $job->taskStatus('CUT') != 'not_started' && $job->taskStatus('CUT') != 'completed' && ( ($job->hasTask('EDGE') && $job->taskStatus('EDGE') == 'not_started') || (!$job->hasTask('EDGE')) )) @if($job->hold) CUTTING or On Hold @else CUTTING @endif @endif @if($job->hasTask('CUT') && $job->taskStatus('CUT') == 'completed' && ( ($job->hasTask('EDGE') && $job->taskStatus('EDGE') == 'not_started'))) Ready For Edging @endif @if($job->hasTask('CUT') && $job->taskStatus('CUT') != 'completed' && $job->hasTask('EDGE') && $job->taskStatus('EDGE') != 'not_started' && $job->taskStatus('EDGE') != 'completed') @if($job->hold) CUTTING, EDGING or On Hold @else CUTTING, EDGING @endif @endif @if($job->hasTask('CUT') && $job->taskStatus('CUT') == 'completed' && $job->hasTask('EDGE') && $job->taskStatus('EDGE') != 'not_started' && $job->taskStatus('EDGE') != 'completed') @if($job->hold) EDGING or On Hold @else EDGING @endif @endif @if( (!$job->hasTask('CUT') || ($job->hasTask('CUT') && $job->taskStatus('CUT') == 'completed') ) && ( $job->hasTask('EDGE') && $job->taskStatus('EDGE') == 'completed' ) || ( !$job->hasTask('EDGE') && $job->taskStatus('CUT') == 'completed' )) @if($job->hold) POST or On Hold @else POST @endif @endif @endif @endif @if ($job->material_order_date != "") {{ \Carbon\Carbon::createFromFormat('d-m-Y', $job->material_order_date)->format('D d-m-y') }} @endif
{{ substr(strip_tags($job->customer_notes), 0, 100) }}