double barcodes
This commit is contained in:
parent
91061f053f
commit
80899f21aa
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ ready = function() {
|
||||||
barcode = $(this).find("input[type=number]").val();
|
barcode = $(this).find("input[type=number]").val();
|
||||||
$("#from_barcode_form")[0].reset();
|
$("#from_barcode_form")[0].reset();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: $("#from_barcode_form").data("url") + "/barcodes/" + barcode,
|
url: $("#from_barcode_form").data("url") + barcode,
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
increment_product(data["id"]);
|
increment_product(data["id"]);
|
||||||
|
|
Loading…
Reference in a new issue