Shipments @can('style:create') @endcan
@if(!$hideFilters)
@error('search') {{ $message }} @enderror
@endif
@if (Session::get('message')) @endif @if($errors->all()) @endif
@if($columns['Shipment No'])@endif @if($columns['Created'])@endif @if($columns['Organiser'])@endif @if($columns['Transporter'])@endif @if($columns['Price'])@endif @if($columns['Order'])@endif @if($columns['Style'])@endif @if($columns['Description'])@endif @if($columns['Colourway'])@endif @foreach($shipments as $shipment) @foreach($shipment->shipment_lines->isEmpty() ? [NULL] : $shipment->shipment_lines as $line) @if($loop->first) @if($columns['Shipment No'])@endif @if($columns['Created'])@endif @if($columns['Organiser'])@endif @if($columns['Transporter'])@endif @if($columns['Price'])@endif @endif @if(!empty($line)) @if($columns['Order'])@endif @if($columns['Style'])@endif @if($columns['Description'])@endif @if($columns['Colourway'])@endif @else @if($columns['Order'])@endif @if($columns['Style'])@endif @if($columns['Description'])@endif @if($columns['Colourway'])@endif @endif @if($loop->first) @endif @endforeach @endforeach
Shipment No.CreatedOrganiserTransporterPriceOrderStyleDescriptionColourway
{{$shipment->id}}{{$shipment->created_at->format('d-M-Y')}}{{$shipment->organiser}}{{$shipment->transporters?->name}}{{$shipment->transporters?->currency}}{{number_format($shipment->cost, 2)}}last) class="border-bottom border-primary" @endif>{{$line->customer_order_lines->customer_orders->customer_po}}last) class="border-bottom border-primary" @endif>{{$line->customer_order_lines->colourways?->style_versions->styles?->designs_id}} | {{$line->customer_order_lines->colourways?->style_versions->styles?->customer_ref}}last) class="border-bottom border-primary" @endif>{{$line->customer_order_lines->colourways?->style_versions->styles?->designs->description}}last) class="border-bottom border-primary" @endif>{{$line->customer_order_lines->colourways?->name}}
{{ $shipments->links() }}