Skip to content

Commit

Permalink
Fixed tax calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Apr 20, 2016
1 parent 97cfdb6 commit 685a39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/html/src/Client/Html/Common/Summary/Detail/Base.php
Expand Up @@ -37,7 +37,7 @@ protected function getTaxRates( \Aimeos\MShop\Order\Item\Base\Iface $basket )
$taxrate = $price->getTaxrate();

if( isset( $taxrates[$taxrate] ) ) {
$taxrates[$taxrate]->addItem( $price, $product->getQuantity() - 1 );
$taxrates[$taxrate]->addItem( $price, $product->getQuantity() );
} else {
$taxrates[$taxrate] = $price->addItem( $price, $product->getQuantity() - 1 );
}
Expand Down

0 comments on commit 685a39a

Please sign in to comment.