forked from CGM_Public/pretix_original
Invoice address: Make Peppol required in Belgium if available (Z#23220397) (#5808)
* Invoice address: Make Peppol required in Belgium if available (Z#23220397) * Fix failing test, remove template bit that's now impossible
This commit is contained in:
@@ -109,7 +109,7 @@ def address_form(request):
|
||||
for t in get_transmission_types():
|
||||
if t.is_available(event=event, country=country, is_business=is_business):
|
||||
result = {"name": str(t.public_name), "code": t.identifier}
|
||||
if t.exclusive:
|
||||
if t.is_exclusive(event=event, country=country, is_business=is_business):
|
||||
info["transmission_types"] = [result]
|
||||
break
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user