View PDF @can('invoicing.invoices') Create invoice @endcan Edit
{{ $order->client?->company_name }}

{{ $order->type->label() }} {{ $order->displayNumber() }}

PO date
{{ $order->po_date?->format('d M Y') }}
Currency
{{ $order->currencyEnum()->label() }}
PO amount
{{ $order->formattedAmount() }}
@if ($order->po_number)
Number
{{ $order->po_number }}
@endif @if ($order->notes)
Notes
{{ $order->notes }}
@endif @if ($order->creator)
Saved by
{{ $order->creator->name }}
@endif
Invoices
@forelse ($order->invoices as $invoice) {{ $invoice->invoice_number }} {{ $invoice->formattedTotal() }} ยท {{ $invoice->status->label() }} @empty
No invoices linked to this order yet.
@endforelse
@if ($order->invoices->isEmpty())
@csrf @method('DELETE')
@endif