{% extends "base.html" %} {% block title %}GED – AAZ Accounting{% endblock %} {% block page_title %}Gestion Électronique de Documents{% endblock %} {% block topbar_actions %} {% endblock %} {% block content %}
Total documents
{{ stats.total }}
À associer
{{ stats.pending }}
Suggérés
{{ stats.suggested }}
Validés
{{ stats.validated }}
Réinitialiser
📄
Glissez vos factures PDF / JPG / PNG ici
ou cliquez sur "Importer des factures" ci-dessus
{% for doc in docs.items %} {% else %} {% endfor %}
Aperçu Fichier original Nom suggéré / final Fournisseur Pièce Écriture associée Statut Actions
{% if doc.is_pdf %}📄{% elif doc.is_image %}🖼{% else %}📎{% endif %} {{ doc.original_filename }}
{{ doc.final_name or doc.suggested_name or '–' }}
{{ doc.supplier_name or '?' }} {{ doc.piece_ref or '–' }} {% if doc.journal_entry %}
{{ doc.journal_entry.piece_ref }}
{{ doc.journal_entry.label[:35] }}…
{{ "%.2f"|format(doc.journal_entry.debit or 0) }} €
{% else %} {% endif %}
{% if doc.association_status == 'validated' %} ✓ Validé {% elif doc.association_status == 'suggested' %} 💡 Suggéré {% else %} En attente {% endif %} 👁 {% if current_user.is_admin and doc.association_status != 'validated' %} {% endif %}
Aucun document. Importez vos premières factures.
{% if docs.pages > 1 %} {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}