Redirigiendo al resumen cuando se finaliza una compra #64

Merged
mono merged 3 commits from redirect_to_summary_when_end_purchase_#55 into main 2024-11-02 16:55:02 -05:00
Showing only changes of commit 65e99b7ce2 - Show all commits

View File

@ -92,7 +92,7 @@
calculateTotal(lines) { calculateTotal(lines) {
let total = 0; let total = 0;
lines.forEach(line => { lines.forEach(line => {
total += this.calculateSubtotal(line.price, line.quantity); total += this.calculateSubtotal(line.unit_price, line.quantity);
}); });
return total; return total;
} }