mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fix for rounding subtotal value
This commit is contained in:
parent
31a09483e3
commit
ea5460d91b
@ -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;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user