Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Conversation

@pc-coholic
Copy link
Member

Translations pending our approval of the english verbiage



class SettingsForm(SettingsForm):
class VARSettingsForm(SettingsForm):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class VARSettingsForm(SettingsForm):
class ECouponSettingsForm(SettingsForm):

}


def is_dbvar_event(event: Event):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def is_dbvar_event(event: Event):
def is_legacy_ecoupon_event(event: Event):

return super().save(commit=commit)


class VATSettingsForm(SettingsForm):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class VATSettingsForm(SettingsForm):
class DBEventOffersSettingsForm(SettingsForm):

or sth like that

form_class = SettingsForm
template_name = "pretix_dbvat/index.html"
form_class = VARSettingsForm
template_name = "pretix_dbvat/var/index.html"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

afaict you accidentally deleted those files instead of moving them

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
template_name = "pretix_dbvat/var/index.html"
template_name = "pretix_dbvat/ecoupon/index.html"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uff - apparently my gitignore just exempted the folder... No wonder it "works on my machine" ;-)

context_object_name = "coupons"
form_class = SettingsForm
template_name = "pretix_dbvat/index.html"
form_class = VARSettingsForm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
form_class = VARSettingsForm
form_class = ECouponSettingsForm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants