InsideOrders fix

This commit is contained in:
Michał Zieliński
2025-07-15 17:18:21 +02:00
parent 0068e3beec
commit 5173239e69
4 changed files with 126 additions and 123 deletions

View File

@@ -702,8 +702,7 @@ function checkProducts() {
items[index].quantity = pqty;
}
if (items[index].product_component == 1
&& id == items[index].product_product_id) {
if (items[index].product_component == 1) {
items[index].quantity = pqty * $("#quantity_comp_" + index).val();
$("#quantity_" + index).val(FormatNumber(items[index].quantity, 4));
}