Skip to content

Commit

Permalink
Reformatting to clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed Dec 16, 2024
1 parent a7203c1 commit 40ebd36
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pretix_zugferd/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ def get_context_data(self, **kwargs):
is_zugferd_renderer=isinstance(
self.request.event.invoice_renderer, ZugferdMixin
),
is_xrechnung_renderer=getattr(
self.request.event.invoice_renderer, "profile", None
)
== "XRECHNUNG",
is_xrechnung_renderer=(
getattr(self.request.event.invoice_renderer, "profile", None)
== "XRECHNUNG"
),
has_leitweg_id=(
self.request.event.settings.invoice_address_custom_field.localize("de")
and "leitweg"
Expand Down

0 comments on commit 40ebd36

Please sign in to comment.