@php $fulfillmentOrders = $this->fulfillmentOrders ?? []; $b2cSuppliers = $this->b2cSuppliers ?? []; $b2bSuppliers = $this->b2bSuppliers ?? []; @endphp
{{-- Fulfillment Header Controls --}}
{{-- Fulfillment Order Dropdown --}}
{{-- Add to Fulfillment Button --}} {{-- Export Button --}} {{-- Export Buy Price Button --}} {{-- Export Counselman Button --}} {{-- Export PartsBox Button --}} {{-- Export Wheels America Button --}} {{-- Export Spalding Button --}} {{-- Export A Plus Button --}} {{-- Export Hazmat Button --}}
{{-- B2C Dropdown --}}
{{-- Search input --}}
{{-- Supplier list --}}
No suppliers found
{{-- B2B Dropdown --}}
{{-- Search input --}}
{{-- Supplier list --}}
No suppliers found
{{-- Fulfillment Order Details --}} @if($this->fulfillmentOrderId !== 'new') @php $foDetails = $this->getFulfillmentOrderDetails(); @endphp

Fulfillment Order Details ({{ count($foDetails) }} {{ Str::plural('item', count($foDetails)) }})

@if(count($foDetails) > 0) @foreach($foDetails as $row) @endforeach
Order # Part Part Details Qty Ship To Address City / State / Zip Phone
{{ $row['order_number'] }}
{{ $row['part_name'] }}
@if($row['part_details'])
{{ $row['part_details'] }}
@endif
{{ $row['supplier_part'] }}
@if($row['partslink'] && $row['partslink'] !== $row['supplier_part'])
{{ $row['partslink'] }}
@endif
{{ $row['qty'] }}
{{ $row['name'] }}
@if($row['company'])
{{ $row['company'] }}
@endif
{{ $row['street'] }} {{ $row['city'] }}, {{ $row['state'] }} {{ $row['zip'] }} {{ $row['phone'] }}
@else
No items found in this fulfillment order.
@endif
{{-- Add Items to Fulfillment --}}

Add Items to Fulfillment

@if($this->searchedOrder)
{{-- Order summary card --}}
{{ $this->searchedOrder['external_order_id'] }} @if($this->searchedOrder['source'] == 500) B2B @endif
Customer {{ $this->searchedOrder['name'] }}
@if($this->searchedOrder['company'])
Company {{ $this->searchedOrder['company'] }}
@endif
Address {{ $this->searchedOrder['address'] }}
City {{ $this->searchedOrder['city'] }}, {{ $this->searchedOrder['state'] }} {{ $this->searchedOrder['zip'] }}
@if($this->searchedOrder['phone'])
Phone {{ $this->searchedOrder['phone'] }}
@endif
{{-- Items table --}} @foreach($this->searchedOrder['items'] as $item) @endforeach
Part Qty Price Status Current Supplier Available Suppliers Actions
{{ $item['part_name'] }}
{{ $item['part_num'] }}@if($item['partslink'] && $item['partslink'] !== $item['part_num']) · {{ $item['partslink'] }}@endif
@if($item['notes'])
{{ $item['notes'] }}
@endif
{{ $item['qty'] }} ${{ $item['sale_price'] }} {{ $item['status'] }} @if($item['supplier_code']) {{ $item['supplier_code'] }} @else None @endif
Loading...
@endif
@endif
@push('styles') @endpush @push('scripts') @endpush