Merge line item discount rounding fix
This commit is contained in:
parent
e56bdcf44d
commit
6ac1982aef
1 changed files with 1 additions and 1 deletions
|
|
@ -549,7 +549,7 @@ class InvoiceRepository extends BaseRepository
|
|||
if ($invoice->is_amount_discount) {
|
||||
$lineTotal -= $discount;
|
||||
} else {
|
||||
$lineTotal -= $lineTotal * $discount / 100;
|
||||
$lineTotal -= round($lineTotal * $discount / 100, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue