@extends('admin.layouts.app') @section('title', 'Accounts Payable') @section('content')

Accounts Payable

Manage supplier invoices and payments

Vendors

Total Payable

₦{{ number_format($summary['total'], 0) }}

Paid

₦{{ number_format($summary['paid'], 0) }}

Pending

₦{{ number_format($summary['pending'], 0) }}

Overdue

₦{{ number_format($summary['overdue'], 0) }}

@forelse($payables as $ap) @empty @endforelse
Invoice # Vendor Description Amount Balance Due Date Status Actions
{{ $ap->invoice_number }} {{ $ap->vendor_name }} {{ Str::limit($ap->description, 30) }} ₦{{ number_format($ap->total_amount, 0) }} ₦{{ number_format($ap->balance, 0) }} {{ $ap->due_date->format('M d, Y') }} {{ ucfirst($ap->status) }} @if($ap->balance > 0) @endif
No accounts payable entries found.
{{ $payables->withQueryString()->links() }}
@push('scripts') @endpush @endsection