null,
null,
null,
null,
null,
null,
null
) );
$taxCalculator =
$this->container->
get('shopware.cart.proportional_tax_calculator'
);
$hasDifferentTaxes =
$taxCalculator->
hasDifferentTaxes($positions);
$basket[CheckoutKey::CURRENCY_ID
] =
$currency->
getId();
$basket[CheckoutKey::CURRENCY_NAME
] =
$currency->
getCurrency();
$basket[CheckoutKey::CURRENCY_FACTOR
] =
$currency->
getFactor();
if ($hasDifferentTaxes &&
empty($shippingCosts['taxMode'
]) &&
$this->
get(Shopware_Components_Config::
class)->
get('proportionalTaxCalculation'
) && !
$this->session->
get('taxFree'
)) { $taxProportional =
$taxCalculator->
calculate($shippingCosts['brutto'
],
$positions, false
);
$basket[CheckoutKey::SHIPPING_COSTS_TAX_PROPORTIONAL
] =
$taxProportional;
$shippingNet = 0;