yield 'render credit_note with customer group net' => [ true, [7], [-100], function DOrderEntity $order): void {
publicfunctionassignProductData(ListProduct $listProduct, ListProduct $product) { trigger_error(sprintf('%s:%s is deprecated since Shopware 5.6 and will be removed with 5.7. Will be removed without replacement.', __CLASS__, __METHOD__), E_USER_DEPRECATED);
// either take the price from the tax provider result or take the calculated taxes
$taxes = $price->getCalculatedTaxes()->filter(fn(CalculatedTax $tax) => $tax->getTax() > 0.0); $price->setCalculatedTaxes($taxes);