diff --git a/resources/views/invoices/knockout.blade.php b/resources/views/invoices/knockout.blade.php index 8fe4bcbcce80..cd4ad5f73d2b 100644 --- a/resources/views/invoices/knockout.blade.php +++ b/resources/views/invoices/knockout.blade.php @@ -460,7 +460,7 @@ function InvoiceModel(data) { }); self.totals.rawPaidToDate = ko.computed(function() { - return accounting.toFixed(self.amount(),2) - accounting.toFixed(self.balance(),2); + return roundToTwo(accounting.toFixed(self.amount(),2) - accounting.toFixed(self.balance(),2)); }); self.totals.paidToDate = ko.computed(function() {