File Information
File ID
{{ file.id }}
Original Filename
{{ file.original_filename }}
File Hash
{{ file.filehash }}
File Size
{{ (file.file_size / 1024) | round(2) }} KB ({{ file.file_size }} bytes)
MIME Type
{{ file.mime_type or 'N/A' }}
Created At
{{ file.created_at.strftime('%Y-%m-%d %H:%M:%S') if file.created_at else 'N/A' }}
Original File Path
{{ file.original_file_path if file.original_file_path else 'N/A' }}
Original File Status
{% if original_file_exists %}
File exists
{% else %}
File not found
{% endif %}
Processed File Path
{{ file.processed_file_path if file.processed_file_path else 'N/A' }}
Processed File Status
{% if processed_file_exists %}
File exists
{% else %}
File not found
{% endif %}
Extracted Metadata (GPT)
{% if gpt_metadata.document_type %}
Document Type
{{ gpt_metadata.document_type }}
{% endif %}
{% if gpt_metadata.filename %}
Suggested Filename
{{ gpt_metadata.filename }}
{% endif %}
{% if gpt_metadata.date %}
Document Date
{{ gpt_metadata.date }}
{% endif %}
{% if gpt_metadata.absender %}
Sender (Absender)
{{ gpt_metadata.absender }}
{% endif %}
{% if gpt_metadata.empfaenger %}
Recipient (Empfänger)
{{ gpt_metadata.empfaenger }}
{% endif %}
{% if gpt_metadata.betrag %}
Amount (Betrag)
{{ gpt_metadata.betrag }}
{% endif %}
{% if gpt_metadata.kontonummer %}
Account Number
{{ gpt_metadata.kontonummer }}
{% endif %}
{% if gpt_metadata.tags %}
Tags
{% if gpt_metadata.tags is string %}
{{ gpt_metadata.tags }}
{% else %}
{{ ', '.join(gpt_metadata.tags) }}
{% endif %}
{% endif %}
Extracted Text (Original)
Extracting text from PDF...
Extracted Text (Processed)
Extracting text from PDF...
Processing History
{% if file_exists %}
{% endif %}
{% if logs %}
View Full Processing Logs ({{ logs|length }} entries)
{% for log in logs %}
{{ log.step_name }} - {{ log.status }}
{% if log.message %}
{{ log.message }}
{% endif %}
{{ log.timestamp.strftime('%Y-%m-%d %H:%M:%S') if log.timestamp else 'N/A' }}
{% if log.task_id %}
Task: {{ log.task_id[:16] }}...
{% endif %}
{% if log.detail %}
Show worker log detail
{{ log.detail }}
{% endif %}
{% endfor %}
{% else %}
No processing logs found for this file.
The file may not have been processed yet.
{% endif %}