view: fix total on summary purchase.
This commit is contained in:
parent
f6146c177b
commit
65e99b7ce2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user