From 06e8fc05b34739993992e2cc3032d9eeebf783e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Mon, 18 Aug 2025 23:12:17 +0200 Subject: [PATCH] fix ocr blok --- templates/list.html | 6 +----- templates/list_share.html | 13 +++++++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/templates/list.html b/templates/list.html index e8796be..4d52145 100644 --- a/templates/list.html +++ b/templates/list.html @@ -24,7 +24,6 @@ {% endif %} - - Brak produktów w tej liście. + Brak produktów w tej liście. {% endfor %} @@ -250,7 +249,6 @@ - {% block scripts %} - diff --git a/templates/list_share.html b/templates/list_share.html index b408516..4aef75b 100644 --- a/templates/list_share.html +++ b/templates/list_share.html @@ -132,20 +132,25 @@ data-bs-toggle="collapse" data-bs-target="#receiptSection" aria-expanded="false" aria-controls="receiptSection"> 📄 Pokaż sekcję paragonów +
{% set receipt_pattern = 'list_' ~ list.id %} -
-
🧠 Analiza paragonów (OCR)
+
+ +
🔍 Analiza paragonów (OCR)

System spróbuje automatycznie rozpoznać kwoty z dodanych paragonów.

+

Dokonaj korekty jeśli źle rozpozna kwote na paragonie.

{% if current_user.is_authenticated %} {% else %} -
🔒 Tylko zalogowani użytkownicy mogą zlecać analizę OCR paragonów.
+
🔒 Tylko zalogowani użytkownicy mogą zlecać analizę OCR.
{% endif %}