From a4683de6449242f80590d54e6a0d1f04437d6d28 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Mon, 19 Sep 2022 17:35:23 +0200 Subject: [PATCH] remove dead code --- pretix_servicefees/signals.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pretix_servicefees/signals.py b/pretix_servicefees/signals.py index 49a7538..a362087 100644 --- a/pretix_servicefees/signals.py +++ b/pretix_servicefees/signals.py @@ -124,16 +124,6 @@ def get_fees(event, total, invoice_address, mod='', request=None, positions=[], )) return fees - tax_rule = event.settings.tax_rate_default or TaxRule.zero() - tax = tax_rule.tax(fee, invoice_address=invoice_address, base_price_is='gross') - return [OrderFee( - fee_type=OrderFee.FEE_TYPE_SERVICE, - internal_type='', - value=fee, - tax_rate=tax.rate, - tax_value=tax.tax, - tax_rule=tax_rule - )] return []