mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
fiz um monte de coisa e criei um bug
This commit is contained in:
@@ -150,8 +150,9 @@ function searchProduct() {
|
||||
function time(){
|
||||
var search_product = document.getElementById('search-product').value.trim()
|
||||
var productListElement = document.getElementById("product-list");
|
||||
var comanda_id = document.getElementById("idComanda0").value;
|
||||
if(search_product.length == 0 ){search_product ='*';}
|
||||
fetch(`/balcao/listProductBalcao/13/${search_product}`, {
|
||||
fetch(`/balcao/listProductBalcao/${comanda_id}/${search_product}`, {
|
||||
method: 'GET',}
|
||||
).then(function(response) {
|
||||
return response.text();
|
||||
|
||||
Reference in New Issue
Block a user