style: toast ao add product na comanda

This commit is contained in:
2025-07-19 18:00:22 -03:00
parent f191b6a14b
commit b74736f391
6 changed files with 92 additions and 120 deletions

View File

@@ -396,6 +396,7 @@ async function addProductComanda(productId, comandaId, cuisine) {
const result = await response.text();
console.log(response);
showToast('Produto adicionado com sucesso!', 'success');
// Atualiza a lista de produtos
const listElement = document.getElementById("list-products-comanda");