view: fix total on summary purchase.

This commit is contained in:
Mono Mono 2024-11-02 16:54:07 -05:00
parent f6146c177b
commit 65e99b7ce2

View File

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