{% extends "base.html" %} {% block title %}Importer – AAZ Accounting{% endblock %} {% block page_title %}Importer un relevé bancaire{% endblock %} {% block content %}
📄 Relevé bancaire (PDF / XLSX / CSV)
Glissez votre relevé ici ou cliquez pour parcourir
PDF, XLSX, XLS, CSV – 20 MB max
📊 FEC historique (enrichissement règles)

Importez un FEC existant pour enrichir automatiquement le référentiel fournisseurs et détecter les frais fixes récurrents.

{% if recent_batches %}
Imports récents
{% for b in recent_batches %} {% endfor %}
DateFichierOpérationsPériodeStatutAction
{{ b.created_at.strftime('%d/%m/%Y %H:%M') }} {{ b.original_filename }} {{ b.entries_count }} {% if b.period_start %}{{ b.period_start.strftime('%d/%m') }} → {{ b.period_end.strftime('%d/%m/%Y') }}{% endif %} {% if b.status == 'done' %}✓ Traité {% elif b.status == 'error' %}✗ Erreur {% else %}En cours{% endif %} Voir journal
{% endif %} {% endblock %}