pdf test routine

This commit is contained in:
2026-08-18 16:00:06 +02:00
parent 14a7cc2738
commit a19cdf6074
18 changed files with 2077 additions and 14 deletions
+3 -1
View File
@@ -297,7 +297,9 @@
wrapper.className = "template-btn-wrapper";
const btn = document.createElement("a");
btn.href = `import_xls2.php?id=${template.id}`;
btn.href = (sourceType === 'PDF') ?
`import_pdf.php?id=${template.id}` :
`import_xls2.php?id=${template.id}`;
btn.className = `btn ${sizeClass}`;
btn.style.backgroundColor = template.button_bg_color || '#0d6efd';
btn.style.color = template.button_text_color || '#ffffff';