update stats e nota template
This commit is contained in:
@@ -39,6 +39,7 @@ try {
|
||||
$button_bg_color = trim($_POST['button_bg_color'] ?? '#007bff');
|
||||
$button_text_color = trim($_POST['button_text_color'] ?? '#ffffff');
|
||||
$button_label = trim($_POST['button_label'] ?? 'Click Me');
|
||||
$template_note = trim($_POST['template_note'] ?? '');
|
||||
|
||||
// Allowed source types
|
||||
if (!in_array($source_type, ['XLS', 'API', 'JSON', 'PDF'], true)) {
|
||||
@@ -122,6 +123,7 @@ try {
|
||||
button_bg_color = ?,
|
||||
button_text_color = ?,
|
||||
button_label = ?,
|
||||
template_note = ?,
|
||||
updated_at = NOW()
|
||||
WHERE id = ?
|
||||
");
|
||||
@@ -144,6 +146,7 @@ try {
|
||||
$button_bg_color,
|
||||
$button_text_color,
|
||||
$button_label,
|
||||
$template_note,
|
||||
$id
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user