feat: speek orders page comanda

This commit is contained in:
2025-01-27 11:01:29 -03:00
parent 1a83896449
commit 2b838cda4f
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@@ -61,6 +61,8 @@ function notificacao(){
// navigator.vibrate(200);
// navigator.vibrate([200, 100, 200]);
mostrarNotificacao(data['titulo'], data['corpo'],'Garçom')
texto = new SpeechSynthesisUtterance(data['corpo']+', para '+data['titulo']);
window.speechSynthesis.speak(texto);
console.log(data['notificacao'])
}else{