@extends('layouts.management') @section('content')
Corporate Procurement Hub

Approval Center

Review and authorize pending business unit requests.

@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif

Purchase Orders

{{ count($purchaseOrders) }} Pending
@if(count($purchaseOrders) > 0)
    @foreach($purchaseOrders as $po)
  • {{ $po->po_number ?? 'PO-'.$po->id }}

    {{ $po->supplier->name ?? 'Unknown Supplier' }}

    {{ $po->businessUnit->name ?? 'Unknown BU' }}

    TZS {{ number_format($po->total ?? 0, 2) }}

  • @endforeach
@else

All caught up

No purchase orders pending approval.

@endif

Supplier Bills

{{ count($supplierInvoices) }} Pending
@if(count($supplierInvoices) > 0)
    @foreach($supplierInvoices as $invoice)
  • {{ $invoice->supplier_bill_number ?? 'BILL-'.$invoice->id }}

    {{ $invoice->supplier->name ?? 'Unknown Supplier' }}

    {{ Carbon\Carbon::parse($invoice->due_date)->format('M d, Y') }}

    TZS {{ number_format($invoice->total ?? 0, 2) }}

    @csrf
  • @endforeach
@else

All caught up

No supplier bills pending approval.

@endif
@endsection