|
|
@@ -2600,11 +2600,7 @@ let orderDetails = {
|
|
|
}
|
|
|
|
|
|
let ingredientDisplay = ingredientDiv.children[1];
|
|
|
- if(ingredient.specialUnit === "bottle"){
|
|
|
- ingredientDisplay.innerText = `${order.ingredients[i].quantity.toFixed(2)} bottles x $${order.ingredients[i].pricePerUnit.toFixed(2)}`;
|
|
|
- }else{
|
|
|
- ingredientDisplay.innerText = `${order.ingredients[i].quantity.toFixed(2)} ${ingredient.unit.toUpperCase()} X $${order.ingredients[i].pricePerUnit.toFixed(2)}`;
|
|
|
- }
|
|
|
+ ingredientDisplay.innerText = `${order.ingredients[i].quantity.toFixed(2)} ${ingredient.unit.toUpperCase()} X $${order.ingredients[i].pricePerUnit.toFixed(2)}`;
|
|
|
|
|
|
ingredientList.appendChild(ingredientDiv);
|
|
|
}
|