Wholesale Critical Path
@if(!$hideFilters)
@error('search') {{ $message }} @enderror
@endif
@if (Session::get('message')) @endif @if($errors->all()) @endif
@if($columns['Factory']) @endif @if($columns['Image']) @endif @if($columns['RT Number']) @endif @if($columns['RT Description']) @endif @if($columns['Order Date']) @endif @if($columns['PO Number']) @endif @if($columns['Customer Reference']) @endif @if($columns['Colour']) @endif @if($columns['Sell Price']) @endif @if($columns['Total Qty']) @endif @if($columns['Yarn']) @endif @if($columns['Yarn Colour']) @endif @if($columns['PRODs']) @endif @if($columns['Factory Order Yarn (FOY)']) @endif @if($columns['Buttons']) @endif @if($columns['Labels']) @endif @if($columns['Care']) @endif @if($columns['Pre Production Comments']) @endif @if($columns['Photoshoot Deadline']) @endif @if($columns['Sealer Deadline']) @endif @if($columns['Sealer Sample']) @endif @if($columns['Start Knit']) @endif @if($columns['Shipment Sample']) @endif @if($columns['Exfty']) @endif @if($columns['Revised Exfty']) @endif @if($columns['Customer Exfty']) @endif @if($columns['Comments']) @endif @if($columns['Shipment Complete']) @endif @foreach($form->cp as $l=>$sline) @if($sline['colourway_first'] == $sline['id']) @endif @if($sline['colourway_first'] == $sline['id']) @endif @if($columns['Factory']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Image']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['RT Number']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['RT Description']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Order Date']) @endif @if($columns['PO Number']) @endif @if($columns['Customer Reference']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Colour']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Sell Price']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Total Qty']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Yarn']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Yarn Colour']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['PRODs']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Factory Order Yarn (FOY)']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Buttons']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Labels']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Care']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Pre Production Comments']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Photoshoot Deadline']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Sealer Deadline']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Sealer Sample']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Start Knit']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Shipment Sample']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Exfty']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Revised Exfty']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Customer Exfty']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Comments']) @if($sline['colourway_first'] == $sline['id']) @endif @endif @if($columns['Shipment Complete']) @endif @endforeach
DropFactoryImageRT NumberRT DescriptionOrder DatePO NumberCustomer ReferenceColourAvg. Sell PriceTotal QtyYarnYarn ColourPROD Ordered Conf ExMilFactory Order Yarn (FOY)ButtonsLabelsCarePre Production CommentsPhotoshoot DeadlineSealer DeadlineSealer SampleStart KnitShipment SampleExftyRevised ExftyCustomer ExftyCommentsShipped
{{$sline['shipment_lines_id']}} {{$sline['factory']}} {{$sline['designs_id']}} {{$sline['description']}} {{$sline['order_date']}} {{$sline['customer_po']}} {{$sline['customer_ref']}} {{$sline['colourways_name']}} {{$sline['customer_currency']}} {{number_format(collect($sline['sizes'])->avg('quote_cache'),2)}} {{collect($sline['sizes'])->sum('qty')}} @foreach ($sline['yarns'] ?? [] as $yarn) {{$yarn->yarn}} - {{$yarn->count}}@if(!$loop->last)
@endif @endforeach
@foreach ($sline['yarns'] ?? [] as $yarn) {{$yarn->colour}} @if(!$loop->last)
@endif @endforeach
@foreach ($sline['yarns'] ?? [] as $yarn) @if(!empty($yarn->prods)) @foreach($yarn->prods?->unique('prod') ?? [] as $prod) PROD{{ $prod->prod }} @if($loop->count > 1) / @endif @endforeach @endif
@endforeach
@foreach ($sline['yarns'] ?? [] as $yarn) @if(!empty($yarn->prods)) @foreach($yarn->prods?->unique('prod') ?? [] as $prod) {{date_format(date_create($prod->ordered), 'd-M')}} @if($loop->count > 1) / @endif @endforeach @endif
@endforeach
@foreach ($sline['yarns'] ?? [] as $yarn) @if(!empty($yarn->prods)) @foreach($yarn->prods?->unique('prod') ?? [] as $prod) {{date_format(date_create($prod->actual_ship_date), 'd-M')}} @if($loop->count > 1) / @endif @endforeach @endif
@endforeach
@if($sline['has_prods'] ?? 0) NA @else
@if($sline['factory_order_yarn']) @endif @endif

@if(!$sline['buttons_required']) @endif {{-- --}}
status == "approved" || $sline['sealer']->status == "Not Required") bg-good @elseif($sline['sealer']->status == "rejected") bg-red @else bg-amber @endif" >
id) role="button" x-on:click="$dispatch('open-modal', {name:'edit-sample'})" wire:click="$dispatch('samples-edit', { samples: {{ $sline['shipment']->id }}})" @endif>{{Illuminate\Support\Str::title($sline['sealer_status'] ?? $sline['sealer']->status)}}
{{$sline['sealer']->note}}@if($sline['sealer']->note)
@endif {{$sline['sealer']->date_sent ? date("d-M", strtotime($sline['sealer']->date_sent)) : NULL}}
status == "approved" || $sline['shipment']->status == "Not Required") bg-good @elseif($sline['shipment']->status == "rejected") bg-red @else bg-amber @endif" >
id) role="button" x-on:click="$dispatch('open-modal', {name:'edit-sample'})" wire:click="$dispatch('samples-edit', { samples: {{ $sline['shipment']->id }}})" @endif >{{Illuminate\Support\Str::title($sline['shipment_status'] ?? $sline['shipment']->status)}}
{{$sline['shipment']->note}}@if($sline['shipment']->note)
@endif {{$sline['shipment']->date_sent ? date("d-M", strtotime($sline['shipment']->date_sent)) : NULL}}
{{date_format(date_create($sline['first_exfty']), 'd/m/Y')}}