MABLI Packing List Import
@if (Session::get('message')) @endif @if($errors->all()) @endif
@if($this->summary && $this->sizeHeaders)
Summary
@foreach($this->sizeHeaders as $sz) @endforeach @foreach($this->summary as $idx => $row) @php($rowKey = $row['style'].'|'.$row['style_name'].'|'.$row['colour']) @php($rowClass = $row['matched_row'] ? '' : 'bg-danger text-white') @foreach($this->sizeHeaders as $sz) @php($drop = $row['sls_sizes'][$sz] ?? 0) @php($pl = $row['sizes'][$sz] ?? 0) @php($diff = $drop != $pl) @endforeach @endforeach
Style Style Name Colour (PL | DB) Drop{{$sz}}Total (PL)
{{$row['style']}} {{$row['style_name']}} @if(!$row['matched_row']) @else {{$row['colour']}} | {{ $row['db_colour'] ?: '—' }} @endif @if(!empty($row['drop_candidates']) && count($row['drop_candidates']) > 1) @elseif(!empty($row['drop_candidates'])) #{{$row['drop_candidates'][0]['id']}} @endif @if(($drop ?? 0) != 0 || ($pl ?? 0) != 0)
Drop: {{$drop}}
PL: {{$pl}}
@endif
{{$row['total']}}
@endif @if($this->rows)
@foreach($this->rows as $r) @endforeach
Carton Style Style Name Colour (printed) Colour (normalized) Size Qty
{{$r['carton'] ?? ''}} {{$r['style'] ?? ''}} {{$r['style_name'] ?? ''}} {{$r['colour'] ?? ''}} {{$r['colour_normalized'] ?? ''}} {{$r['size'] ?? ''}} {{$r['qty'] ?? 0}}
@endif
Parsing…