diff --git a/gestaoRaul/comandas/templates/viewcomanda.html b/gestaoRaul/comandas/templates/viewcomanda.html
index 958f4ad..4ab45ce 100644
--- a/gestaoRaul/comandas/templates/viewcomanda.html
+++ b/gestaoRaul/comandas/templates/viewcomanda.html
@@ -110,7 +110,7 @@ Detalhes {{comanda.name}}
{% for product in products %}
-
+
{{product.name}}
R$ {{product.price}}
diff --git a/gestaoRaul/db.sqlite3 b/gestaoRaul/db.sqlite3
index d9faaf3..eee2e7a 100644
Binary files a/gestaoRaul/db.sqlite3 and b/gestaoRaul/db.sqlite3 differ
diff --git a/gestaoRaul/templates/static/comandas/js/viewcomanda.js b/gestaoRaul/templates/static/comandas/js/viewcomanda.js
index 18792cd..a5c5ca6 100644
--- a/gestaoRaul/templates/static/comandas/js/viewcomanda.js
+++ b/gestaoRaul/templates/static/comandas/js/viewcomanda.js
@@ -1,3 +1,5 @@
+
+
function openModal() {
document.getElementById('Modal-add-product').style.display = 'block';
}
@@ -5,6 +7,7 @@ function openModal() {
function open_remove_product_comanda() {
document.getElementById('remove-product-comanda').style.display = 'block';
+ // alert('Produto removido com sucesso!');
}
function modal_payment_comanda() {
@@ -117,6 +120,20 @@ function teclado(event){
// }
}
+
+function addProductComanda(productId) {
+ alert('Produto adicionado com sucesso!');
+ // const productName = document.getElementById('productName').value;
+ // const productPrice = document.getElementById('productPrice').value;
+ // const productDescription = document.getElementById('productDescription').value;
+ // const productqtd = document.getElementById('productqtd').value;
+ // const categorie = document.getElementById('select-categorie').value;
+ // const url = `/comandas/addProductComanda/${productName}/${productPrice}/${productDescription}/${productqtd}/${categorie}/`;
+ // window.location.href = url;
+}
+
+
+
document.getElementById('openModal').addEventListener('click', openModal);
document.getElementById('productForm').addEventListener('submit', function(event) {