Skip to content

Commit

Permalink
Merge pull request #147 from einhverfr/1.3
Browse files Browse the repository at this point in the history
Correcting tax rounding fix
  • Loading branch information
einhverfr committed Jun 8, 2014
2 parents dd4d160 + f714815 commit 9c1b2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/io.pl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

sub _calc_taxes {
$form->{subtotal} = $form->{invsubtotal};
$moneyplaces = $decimalplaces unless defined $moneyplaces;
my $moneyplaces = $LedgerSMB::Sysconfig::decimal_places;
for $i (1 .. $form->{rowcount}){
my $discount_amount = $form->round_amount( $form->{"sellprice_$i"}
* ($form->{"discount_$i"} / 100),
Expand Down

0 comments on commit 9c1b2a6

Please sign in to comment.