mirror of
https://github.com/pretix/pretix-servicefees.git
synced 2024-11-23 14:40:21 +01:00
remove dead code
This commit is contained in:
parent
ce6bc3a0f5
commit
a4683de644
1 changed files with 0 additions and 10 deletions
|
@ -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 []
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue