X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/aff48c9512cb1cf6568654f7819c16638af0eac8..65b7c724e:/bin/mozilla/vk.pl diff --git a/bin/mozilla/vk.pl b/bin/mozilla/vk.pl index 9bc079168..51521a3de 100644 --- a/bin/mozilla/vk.pl +++ b/bin/mozilla/vk.pl @@ -300,7 +300,7 @@ sub invoice_transactions { # stored seperately). However, for fxsellprice this method only works when # the tax is not included, because otherwise fxsellprice includes the tax # and there is no simple way to extract the tax rate of the article from - # the big query. + # the big query. # # Using fxsellprice is potentially more accurate (certainly for tax # included), because we can use the same method as is used while the @@ -315,7 +315,7 @@ sub invoice_transactions { # sellprice_total_including_tax = qty * fxsellprice * (1-discount) / price_factor * exchangerate # $ar->{sellprice_total_including_tax} = $form->round_amount( $ar->{qty} * ( $ar->{fxsellprice} * ( 1 - $ar->{discount} ) ) / $ar->{price_factor}, $form->{"decimalplaces"}); - $ar->{sellprice} = $ar->{sellprice} / $ar->{price_factor} / $basefactor; + $ar->{sellprice} = $ar->{sellprice} / $ar->{price_factor} / $basefactor; $ar->{sellprice_total} = $form->round_amount( $ar->{qty} * $ar->{sellprice} / $ar->{price_factor} , $form->{"decimalplaces"}); $ar->{lastcost} = $ar->{lastcost} / $ar->{price_factor} / $basefactor;