fixed color and import dahboard

This commit is contained in:
2026-04-27 14:34:45 +02:00
parent fa7997c980
commit 6b0d2aa9b9
5 changed files with 426 additions and 89 deletions
+4 -1
View File
@@ -13,7 +13,10 @@ try {
}
// Recupera solo i template attivi
$stmt = $pdo->query("SELECT id, button_label, button_bg_color, button_text_color, button_size FROM excel_templates WHERE status = 'active'");
$stmt = $pdo->query("SELECT id, button_label, button_size, button_bg_color, button_text_color, source_type
FROM excel_templates
WHERE status = 'active'
ORDER BY button_label ASC");
$templates = $stmt->fetchAll(PDO::FETCH_ASSOC);
$response["success"] = true;