pdf test routine
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user