{% include "partials/sidebar.html" %}

Dashboard

Overview of document processing, extraction coverage, and line item review status.

Document overview

Total documents
{{ total_documents }}
Active documents
{{ active_documents }}
Reviewed documents
{{ reviewed_documents }}
Pending OCR/review
{{ pending_review_documents }}
Extracted field rows
{{ extracted_documents }}
Trashed documents
{{ trashed_documents }}

Line item overview

Total line items
{{ total_line_items }}
Cocktail items
{{ cocktail_count }}
Rated cocktails
{{ rated_cocktails }}
Pending cocktail ratings
{{ pending_cocktail_reviews }}
Cocktails marked N/A
{{ na_cocktails }}
Average cocktail rating
{{ avg_cocktail_rating or "—" }}

Recent documents

{% if recent_documents %}
{% for doc in recent_documents %} {% endfor %}
Document Type Review Status Updated
{{ doc.document_id }} {{ doc.document_type }} {{ doc.review_status }} {{ doc.updated_at }}
{% else %}

No recent documents found.

{% endif %}

Recent line items

{% if recent_line_items %}
{% for row in recent_line_items %} {% endfor %}
Date Merchant Item Category Total Rating Document
{{ row.transaction_date }} {{ row.merchant }} {{ row.description }} {{ row.category }} {{ row.line_total }} {% if row.quality_rating %} {{ row.quality_rating }} {% elif row.quality_status == "na" %} N/A {% else %} — {% endif %} {{ row.document_id }}
{% else %}

No recent line items found.

{% endif %}