mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
feat: pagamento parcial comanda part1
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
document.cookie = `fila=0`;
|
||||
// document.cookie = `fila=0`;
|
||||
|
||||
function reloadPage(){
|
||||
setTimeout(function() {
|
||||
location.reload();}, 4000);
|
||||
}
|
||||
|
||||
function openTab(evt, etapa) {
|
||||
var i, tabcontent, tablinks;
|
||||
@@ -80,6 +84,7 @@ function notificacao(){
|
||||
mostrarNotificacao(data['titulo'], data['corpo'],'Cozinha')
|
||||
texto = new SpeechSynthesisUtterance(data['corpo']+', '+data['titulo']+'.');
|
||||
window.speechSynthesis.speak(texto);
|
||||
reloadPage();
|
||||
|
||||
}else{
|
||||
console.log(data['notificacao'])
|
||||
|
||||
Reference in New Issue
Block a user