@extends('layouts.app') @section('title', 'New Purchase Order') @section('content') Back
@csrf
@error('supplier_id')
{{ $message }}
@enderror

Line Items

Item Qty Unit Price Tax % Line Total

Tip: select an item to auto-fill unit price (you can still edit it). Press Enter in Qty / Price / Tax to add another line.

Subtotal: 0.00   Tax: 0.00   Total: 0.00
Cancel
@endsection @php $poFormItems = ($items ?? collect())->map(function ($i) { return [ 'id' => $i->id, 'label' => $i->item_code.' — '.$i->name_en, ]; })->values(); $poPreserveReason = (bool) old('supplier_selection_reason'); @endphp @push('scripts') @endpush