This commit is contained in:
lizandrogd
2026-01-21 08:28:54 -05:00
parent 7d6c3b4fb4
commit 45a11032f5
59 changed files with 315 additions and 315 deletions
+2 -2
View File
@@ -442,12 +442,12 @@ class BotService {
)['count'];
// Total de mensajes
$stats['total_messages'] = $this->db->fetch(
$stats['total_conversations'] = $this->db->fetch(
"SELECT COUNT(*) as count FROM conversations"
)['count'];
// Mensajes hoy
$stats['messages_today'] = $this->db->fetch(
$stats['conversations_today'] = $this->db->fetch(
"SELECT COUNT(*) as count FROM conversations
WHERE DATE(created_at) = CURDATE()"
)['count'];