fix: api pagamento multipla comandas com dominio

This commit is contained in:
2025-06-25 12:41:25 -03:00
parent d7013f0ab8
commit a7cbf2da09
4 changed files with 2 additions and 3 deletions

Binary file not shown.

View File

@@ -164,8 +164,7 @@ async function enviarComandasSelecionadas() {
return;
}
const response = await fetch('http://192.168.1.150:8001/clients/payDebt', {
const response = await fetch('/clients/payDebt', {
method: 'POST',
headers: {
'Content-Type': 'application/json',

View File

@@ -6,7 +6,7 @@ function openModal() {
if (textField) {
setTimeout(() => {
textField.focus();
}, 100); // 50ms de delay (ajuste conforme necessário)
}, 500); // 50ms de delay (ajuste conforme necessário)
}
textField.value = '';
}