@extends('layouts.dashboard') @section('title', $company . ' - ' . $category . ' - PO Approval System') @section('page-title', $company . ' - ' . $category) @section('content')

{{ $company }} - {{ $category }}

Showing {{ $purchaseOrders->total() }} purchase orders awaiting approval

@if($purchaseOrders->count() > 0) @foreach($purchaseOrders as $po)
Document No
{{ $po->document_no }}
Vendor
{{ $po->buy_from_vendor_name }}
Document Date
{{ $po->document_date ? $po->document_date->format('d M Y') : '-' }}
Amount
IDR {{ number_format($po->amount, 0, ',', '.') }}
Amount (Inc VAT)
IDR {{ number_format($po->amount_including_vat, 0, ',', '.') }}
Status
{{ $po->status }}
Type
{{ $po->document_type }}

Loading details...

@endforeach @if($perPage !== 'all' && $purchaseOrders->hasPages())
Showing {{ $purchaseOrders->firstItem() }} to {{ $purchaseOrders->lastItem() }} of {{ $purchaseOrders->total() }} results
@endif @else

No Purchase Orders Found

There are no purchase orders awaiting your approval in this category.

@endif
Selected: 0 PO(s)

Processing request...

@push('scripts') @endpush @endsection