OCR multi-format (liste + detail) + matching accents + debug

This commit is contained in:
2026-06-30 09:21:46 +02:00
parent 3cc6ede572
commit 458f80f201
2 changed files with 132 additions and 85 deletions
+8
View File
@@ -44,6 +44,14 @@
Voir <a href="/admin/compta/depense/">dépenses</a> · <a href="/admin/compta/facture/">factures</a>.</div>
{% endif %}
{% if ocr_debug %}
<details class="card">
<summary style="cursor:pointer;color:var(--muted)">Texte lu par l'OCR (debug — {{ ocr_debug|length }} ligne(s))</summary>
<pre style="white-space:pre-wrap;font-size:12px;color:var(--muted);margin-top:8px">{% for l in ocr_debug %}{{ l }}
{% endfor %}</pre>
</details>
{% endif %}
{% if not lignes %}
<form method="post" enctype="multipart/form-data" class="card" id="srcForm">
{% csrf_token %}