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