@extends('layouts.app') @section('title', 'Purchase Orders') @section('content')
| Date | PO Number | Vendor Name | Status | Amount | Actions |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($po->date)->format('d M Y') }} | {{ $po->purchase_order_number }} | {{ $po->vendor->name }} | @php $statusClasses = [ 'draft' => 'bg-secondary-subtle text-secondary', 'open' => 'bg-info-subtle text-info', 'billed' => 'bg-success-subtle text-success', 'closed' => 'bg-light text-muted border', ]; @endphp {{ $po->status }} | {{ formatCurrency($po->total) }} |
|
| No purchase orders found. | |||||