InsideOrder: remove item fix

This commit is contained in:
2025-11-20 16:49:02 +01:00
parent 0caa2351d8
commit 0a4745366b
2 changed files with 2 additions and 2 deletions

View File

@@ -196,7 +196,7 @@ function deleteRow(index) {
var error = false; // hope :)
var id = $("#product_id_" + index).val();
var howmany = 1;
for (var row = 0; row != count; row++) {
for (var row = index+1; row != count; row++) {
comp_id = $("#product_product_id_" + row).val();
if (comp_id == id) howmany++;
}