Lee Morgan 5 лет назад
Родитель
Сommit
f99a130357
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      views/dashboardPage/bundle.js
  2. 1 1
      views/dashboardPage/js/newOrder.js

+ 1 - 1
views/dashboardPage/bundle.js

@@ -2807,7 +2807,7 @@ let newOrder = {
                                 ingredients.push({
                                     ingredient: merchant.ingredients[j].ingredient,
                                     quantity: response.ingredients[i].quantity,
-                                    pricePerUnit: response.ingredients[j].pricePerUnit
+                                    pricePerUnit: response.ingredients[i].pricePerUnit
                                 });
 
                                 break;

+ 1 - 1
views/dashboardPage/js/newOrder.js

@@ -115,7 +115,7 @@ let newOrder = {
                                 ingredients.push({
                                     ingredient: merchant.ingredients[j].ingredient,
                                     quantity: response.ingredients[i].quantity,
-                                    pricePerUnit: response.ingredients[j].pricePerUnit
+                                    pricePerUnit: response.ingredients[i].pricePerUnit
                                 });
 
                                 break;