@extends('layouts.app') @section('content')

Documents Inbox

Upload and process receipts, bills, and invoices automatically.

@forelse($documents as $doc) @empty @endforelse
File Name Upload Date Type Vendor Amount Status Actions
{{ $doc->file_name }}
#DOC-{{ $doc->id }}
{{ $doc->created_at->format('M d, Y') }} {{ $doc->document_type ?? '---' }} {{ $doc->vendor_name ?? '---' }} @if($doc->amount) ${{ number_format($doc->amount, 2) }} @else --- @endif @php $badgeClass = [ 'uploaded' => 'bg-secondary', 'processing' => 'bg-info', 'ready' => 'bg-warning text-dark', 'converted' => 'bg-success', 'matched' => 'bg-primary' ][$doc->status] ?? 'bg-secondary'; @endphp {{ ucfirst($doc->status) }} @if($doc->links->count() > 0) @php $link = $doc->links->first(); @endphp @if($link && $link->linked) @endif @endif
@if($doc->status == 'uploaded') @endif @if($doc->status == 'ready') @endif
Your inbox is empty

Upload receipts and bills to get started.

@if($documents->hasPages()) @endif
@push('scripts') @endpush @endsection