@extends('layouts.inspinia') @section('title', 'Purchase Orders') @section('content_header', 'Purchase Orders') @section('content') @if(session('success'))
| PO Number | Date | Supplier | Warehouse | PR Ref | Total | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $po->purchase_order_number ?? '—' }} | {{ $po->purchase_order_date?->format('d-m-Y') ?? '—' }} | {{ $po->supplier?->name ?? '—' }} | {{ $po->warehouse?->name ?? '—' }} | @if($po->purchaseRequest) {{ $po->purchaseRequest->purchase_request_number }} @else — @endif | {{ number_format($po->total_amount, 2) }} | {{ $statusLabel }} | |
| No purchase orders found. | |||||||