Fix for rounding

This commit is contained in:
Hillel Coren 2019-01-06 09:29:01 +02:00
parent ea54741075
commit 153d2b5ef7
4 changed files with 8 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

0
public/css/jquery.timepicker.css vendored Executable file → Normal file
View file

View file

@ -599,6 +599,7 @@ function calculateAmounts(invoice) {
lineTotal = roundToTwo(lineTotal);
if (lineTotal) {
total += lineTotal;
total = roundToTwo(total);
}
if (!item.notes && !item.product_key && !item.cost) {
continue;