{{ $lpo->ref }} — ProcureFlow Local Purchase Order @if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif

{{ $lpo->ref }}

{{ ucfirst($lpo->status) }}
@if($lpo->status === 'draft') Edit
@csrf
@endif Back to List
LPO Details
Reference
{{ $lpo->ref }}
Procurement
{{ $lpo->procurement->title ?? '—' }} ({{ $lpo->procurement->ref ?? '' }})
Vendor
{{ $lpo->vendor->name ?? '—' }}
Payment Terms
{{ $lpo->payment_terms ?? '—' }}
Delivery Due
{{ $lpo->delivery_due ? \Carbon\Carbon::parse($lpo->delivery_due)->format('M d, Y') : '—' }}
Issued At
{{ $lpo->issued_at ? \Carbon\Carbon::parse($lpo->issued_at)->format('M d, Y') : '—' }}
Approved By
{{ optional($lpo->approver)->name ?? '—' }}
Financial Summary
UGX {{ number_format($lpo->total_amount ?? 0, 0) }}

Total LPO Value

Line Items
@forelse($lpo->items as $i => $item) @empty @endforelse
# Description Specification Qty Unit Unit Price Total
{{ $i + 1 }} {{ $item->description }} {{ $item->specification ?? '—' }} {{ $item->quantity }} {{ $item->unit }} {{ number_format($item->unit_price, 0) }} {{ number_format($item->total_price, 0) }}
No line items added yet.