Fix for rounding
This commit is contained in:
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
0
public/css/jquery.timepicker.css
vendored
Executable file → Normal 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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue