Kompletter Umbau in einem Rutsch auf PDF als template Grundlage
This commit is contained in:
1 parent
dbe325d305
commit
169d2167e0
12 files changed
+421
-287
No files matched your search
@@ -157,7 +157,7 @@ with col2:
|
||||
st.subheader("2. Template")
|
||||
template_files = get_available_templates(app_config)
|
||||
if not template_files:
|
||||
st.warning("Keine .xlsx-Dateien im template/-Ordner gefunden.")
|
||||
st.warning("Keine .pdf-Dateien im template/-Ordner gefunden.")
|
||||
selected_template = None
|
||||
else:
|
||||
# Lock-Files herausfiltern
|
||||
@@ -202,9 +202,9 @@ with col2:
|
||||
st.session_state.template_validated = False
|
||||
else:
|
||||
st.session_state.template_validated = True
|
||||
found = tpl_result.info.get("found_target_cells", 0)
|
||||
total = tpl_result.info.get("total_target_cells", 0)
|
||||
st.success(f"✅ {found}/{total} Zielfelder gefunden")
|
||||
found = tpl_result.info.get("found_fields", 0)
|
||||
total = tpl_result.info.get("total_fields", 0)
|
||||
st.success(f"✅ {found}/{total} Platzhalter-Felder gefunden")
|
||||
if tpl_result.warnings:
|
||||
st.markdown(
|
||||
'<div style="border:2px solid #f39c12; border-radius:8px; padding:8px 12px; '
|
||||
|
||||
Reference in new issue
Block a user