diff --git a/static/js/pos.js b/static/js/pos.js index 270519c..e7cb3cf 100644 --- a/static/js/pos.js +++ b/static/js/pos.js @@ -41,6 +41,7 @@ function addItem(name, code, price) { + '' + '' + ''); + recalculate(); } function findItem(q) { @@ -82,7 +83,7 @@ function findItem(q) { for (var i = 0; i < data['items'].length; i++) { var text = data['items'][i]['name']; if (data['items'][i]['price'] != null) { - text += " ($" + data['items'][i]['price'] + ")"; + text += " $" + data['items'][i]['price'] + ""; } options.push({"text": text, "val": data['items'][i]['id']}); }