diff --git a/resources/views/invoices/knockout.blade.php b/resources/views/invoices/knockout.blade.php index a3ce21249355..b7f90bc08e5a 100644 --- a/resources/views/invoices/knockout.blade.php +++ b/resources/views/invoices/knockout.blade.php @@ -313,6 +313,7 @@ function InvoiceModel(data) { for(var p=0; p < self.invoice_items().length; ++p) { var item = self.invoice_items()[p]; total += item.totals.rawTotal(); + total = roundToTwo(total); } return total; });