This commit is contained in:
lizandrogd
2026-01-20 22:33:39 -05:00
parent 648a6c0291
commit f222df40cd
10 changed files with 86 additions and 5 deletions
+6 -1
View File
@@ -934,7 +934,12 @@ class SimpleWhatsAppManager {
});
if (response && response.success) {
this.showSuccess('Plantilla guardada correctamente');
const status = response.status || 'pending';
if (status === 'approved') {
this.showSuccess('Plantilla guardada y marcada como APROBADA.');
} else {
this.showSuccess('Plantilla guardada correctamente. Estado: PENDIENTE.');
}
// Cerrar modal
const modal = document.getElementById('createTemplateModal');