@if($order->notes) @endif
Company Logo
Source My Parts Pty Ltd
ABN - 43 602 924 210
Address - 35 Pickett St, Bayswater, WA 6053
Phone - 08 9468 4394
Email - accounts@smparts.com.au
Picking Slip
Picking Slip # - {{ $shipment->id }}
Date - {{ \Carbon\Carbon::parse($shipment->shipment_date)->format('d/m/Y') }}
Order # - {{ \App\Helpers\SiteSettingsHelper::formatId($order->id, 'order') }}
@if($order->createdUser) Sales Person - {{ $order->createdUser->name }} @endif

Company Details

DATE - {{ \Carbon\Carbon::parse($shipment->shipment_date)->format('d/m/Y') }}
COMPANY - {{ $order->company->name }}
ORDER No. - {{ \App\Helpers\SiteSettingsHelper::formatId($order->id, 'order') }}
PICKING SLIP No. - {{ $shipment->id }}
SALES PERSON -

Deliver to

{{ $order->company->name }}
{{ $order->customer->first_name }} {{ $order->customer->last_name }},
@if($shippingAddress) @if($shippingAddress->attention_to) {{ $shippingAddress->attention_to }},
@endif @if($shippingAddress->address1) {{ $shippingAddress->address1 }}, @endif @if($shippingAddress->address2) {{ $shippingAddress->address2 }}, @endif @if($shippingAddress->suburb) {{ $shippingAddress->suburb }}, {{ $shippingAddress->state ? $shippingAddress->state->iso_code : $shippingAddress->other_state }}, {{ $shippingAddress->postcode }},
@endif @if($shippingAddress->country && $shippingAddress->country->name !== 'Australia') {{ $shippingAddress->country->name }}
@endif @if($shippingAddress->phone) Phone - {{ $shippingAddress->phone }}
@endif @if($shippingAddress->mobile) Mobile - {{ $shippingAddress->mobile }}
@endif @else No shipping address provided @endif @if($order->customer) @if($order->customer->phone) Phone - {{ $order->customer->phone }} @endif
@if($order->customer->email) Email - {{ $order->customer->email }} @endif @endif
Additional Notes

{{ $order->notes }}

Picking Slip Details
@foreach($shipment->details as $detail) @php $bundleProducts = $detail->orderDetail->bundleProducts ?? collect(); $productStocks = $detail->orderDetail->product->stockWarehouses ?? collect(); $productBayLocation = $order->warehouse_id ? optional($productStocks->firstWhere('warehouse_id', $order->warehouse_id))->bay_location : optional($productStocks->first())->bay_location; @endphp @if($bundleProducts->count() > 0) @foreach($bundleProducts as $bundleProduct) @php $bundleStocks = $bundleProduct->product->stockWarehouses ?? collect(); $bundleBayLocation = $order->warehouse_id ? optional($bundleStocks->firstWhere('warehouse_id', $order->warehouse_id))->bay_location : optional($bundleStocks->first())->bay_location; @endphp @endforeach @endif @endforeach
LINE# LCN PART# OEM # SUPPLIER DESCRIPTION IN STOCK PICKED REQ SUPP B/ORDER
{{ $loop->iteration }} {{ $productBayLocation ?: 'N/A' }} {{ $detail->orderDetail->sku }} {{ $detail->orderDetail->customer_part_number ?? '-' }} {{ $detail->orderDetail->product?->defaultSupplier?->name ?? '-' }} {{ $detail->orderDetail->name }} {{ isset($detail->is_in_stock) && $detail->is_in_stock ? 'Y' : 'N' }} {{ isset($detail->required_pick_quantity) ? $detail->required_pick_quantity : ($detail->quantity ?? 0) }} {{ $detail->supplied_quantity ?? 0 }} {{ isset($detail->backorder_quantity) ? $detail->backorder_quantity : 0 }}
{{ $bundleBayLocation ?: 'N/A' }} {{ $bundleProduct->current_sku ?? $bundleProduct->sku ?? 'N/A' }} - {{ $bundleProduct->product?->defaultSupplier?->name ?? '-' }} {{ $bundleProduct->name ?? 'N/A' }} {{ isset($bundleProduct->is_in_stock) && $bundleProduct->is_in_stock ? 'Y' : 'N' }} {{ isset($bundleProduct->required_pick_quantity) ? $bundleProduct->required_pick_quantity : 0 }} {{ $bundleProduct->supplied_quantity ?? 0 }} {{ isset($bundleProduct->backorder_quantity) ? $bundleProduct->backorder_quantity : 0 }}