diff --git a/static/src/app/pos_order_patch.js b/static/src/app/pos_order_patch.js index cadaf6b..c78020b 100644 --- a/static/src/app/pos_order_patch.js +++ b/static/src/app/pos_order_patch.js @@ -98,7 +98,7 @@ patch(PosOrder.prototype, { (sum, line) => sum + (line.combo_line_ids.length > 0 - ? line.comboTotalPriceWithoutTax + ? line.comboTotalPriceWithoutTax * line.getQuantity() : line.prices.total_excluded), 0 ); @@ -143,7 +143,7 @@ patch(PosOrder.prototype, { } const priceToUse = rule.money_reward_point_mode === "before_tax" - ? (line.combo_line_ids.length > 0 ? line.comboTotalPriceWithoutTax : line.prices.total_excluded) + ? (line.combo_line_ids.length > 0 ? line.comboTotalPriceWithoutTax * line.getQuantity() : line.prices.total_excluded) : (line.combo_line_ids.length > 0 ? line.comboTotalPrice : line.prices.total_included); orderedProductPaid += priceToUse;