@php $productOptions = $products->map(fn ($product) => (object) ['id' => $product->id, 'name' => $product->name]); @endphp
← Back to purchase orders
{{-- Step: Upload --}} @if ($step === 'upload')

Import Order

Upload a supplier rate list / order sheet, or a supplier's invoice PDF. Nothing is created until you review and confirm the preview.

Uploading…
@endif {{-- Step: Preview --}} @if ($step === 'preview') @php $summary = $this->summary(); @endphp
Total Value
{{ number_format($summary['total_value'], 2) }}
@if ($summary['invoice_discount'] > 0)
after {{ number_format($summary['invoice_discount'], 2) }} invoice discount
@endif
@php $supply = $this->supplyInfo(); @endphp
$supply['known'], 'bg-red-50 dark:bg-red-500/10 text-red-700 dark:text-red-400' => ! $supply['known'], ])> Tax type: {{ $supply['message'] }}