@extends('layouts.admin') @section('title', 'Purchase Orders') @section('page-title', 'Purchase Orders') @section('content')
@if(!$panelOpen)
to
and
Clear
@if($purchaseOrders->isNotEmpty())
@foreach($purchaseOrders as $note) @php $status = $note->statusMeta(); @endphp @endforeach
Issue Date Doc. No. Status Vendor Name Valid Until Amount Action
{{ $note->po_date->format('d M Y') }} {{ $note->purchase_order_number }} {{ $status['label'] }} {{ $note->partyName() }} {{ $note->valid_until?->format('d M Y') ?? '—' }} ₹{{ number_format($note->grand_total, 2) }}
@csrf @method('DELETE')
@else

There are no purchase orders created yet

Create purchase orders for your vendors with line items, GST, validity dates, and PDF sharing.

New Purchase Order @include('admin.purchase-orders.partials.lifecycle')
In the Purchase Orders tab, you can:
@foreach(config('purchase_order.empty_state.capabilities', $features) as $feature)
{{ $feature }}
@endforeach
@endif
@if($purchaseOrders->isNotEmpty())
@include('admin.purchase-orders.partials.lifecycle')
@endif @else
@include('admin.purchase-orders.partials.sidebar-toolbar')
@forelse($purchaseOrders as $note) @php $qStatus = $note->statusMeta(); @endphp
{{ $note->purchase_order_number }}
{{ $note->partyName() }} · {{ $note->po_date->format('d M Y') }}
₹{{ number_format($note->grand_total, 2) }}
{{ $qStatus['label'] }}
@empty
No purchase orders match filters.
@endforelse
@if($selected && isset($purchaseOrder))
@include('admin.purchase-orders.partials.preview', [ 'embedded' => true, 'closeUrl' => route('admin.purchase-orders.index', request()->except('purchase_order')), ])
@endif
@endif
@endsection @push('styles') @if($panelOpen ?? false) @endif @endpush @push('scripts') @if($panelOpen ?? false) @include('admin.purchase-orders.partials.preview-scripts') @endif @endpush