@extends('layouts.admin') @section('title', 'Bills') @section('content')
Bills
{{ $stats['total'] }}
Exceptions
{{ $stats['exceptions'] }}
Open AP
AUD {{ number_format($stats['open_cents'] / 100, 2) }}
Clear
Number Supplier Invoice Status Total @forelse($bills as $bill) @php $tone = match($bill->status) { 'matched','approved','paid' => 'success', 'exception' => 'danger', 'draft' => 'muted', default => 'warning' }; @endphp {{ $bill->number }} {{ $bill->supplier?->name ?? '—' }} {{ $bill->invoice_number }} {{ $bill->status }} {{ $bill->currency }} {{ number_format($bill->total_cents / 100, 2) }} Open @empty No bills found. @endforelse {{ $bills->links() }}
@endsection