@php $money = fn (int $cents) => 'AUD '.number_format($cents / 100, 2); $taxIncluded = $totals['tax_cents'] > 0 && $totals['total_cents'] === $quote['net_cents']; $selectedLocation = old('company_location_id', $cart->company_location_id ?? $locations->first()?->id); $canUseAccount = $credit['on_account'] && $totals['total_cents'] <= $credit['available_cents']; $selectedPayment = old('payment_method', $cart->payment_method ?? ($canUseAccount ? 'account' : 'proforma')); @endphp Back to quick order @if($needsApproval)

This order needs approval

It's above your {{ $money((int) $wsMember->order_limit_cents) }} buying limit. We'll send it to your company's approvers — it's placed the moment they approve.

@endif
@csrf
{{-- Delivery --}}

Step 1

Deliver to

Manage locations
@if($locations->isEmpty())
No delivery locations yet. Add one to continue.
@else
@foreach($locations as $location) @endforeach
@endif
{{-- Payment --}}

Step 2

Payment

{{-- References --}}

Step 3

References

Shown on your invoice and packing slip so your accounts team can match it.
{{-- Lines --}}

{{ count($quote['lines']) }} {{ str('line')->plural(count($quote['lines'])) }} · {{ number_format($quote['units']) }} units

Edit
@foreach($quote['lines'] as $line) @endforeach
ItemQtyUnitDiscountLine total

{{ $line['title'] }}

{{ $line['variant_title'] ?: '—' }} · {{ $line['sku'] }}

{{ number_format($line['quantity']) }} {{ $money($line['unit_price_cents']) }} {{ $line['discount_bps'] ? '−'.rtrim(rtrim(number_format($line['discount_bps'] / 100, 2), '0'), '.').'%' : '—' }} {{ $money($line['total_cents']) }}
{{-- Totals --}}