mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
* Refactor paymentinfo to payment_info, resolve #499 * Fix calling of object attribute on tuple * Minor update to setup documentation * Do not use short words for typochecks * Text clarification * Refactor paymentinfo to payment_info, resolve #499 * Include data migration for existing event settings, resolve #499
This commit is contained in:
committed by
Raphael Michel
parent
fb716eb498
commit
48b3621f1e
@@ -437,7 +437,7 @@ class MailSettingsPreview(EventPermissionRequiredMixin, View):
|
||||
def items(self):
|
||||
return {
|
||||
'mail_text_order_placed': ['total', 'currency', 'date', 'invoice_company',
|
||||
'event', 'paymentinfo', 'url', 'invoice_name'],
|
||||
'event', 'payment_info', 'url', 'invoice_name'],
|
||||
'mail_text_order_paid': ['event', 'url', 'invoice_name', 'invoice_company', 'payment_info'],
|
||||
'mail_text_order_free': ['event', 'url', 'invoice_name', 'invoice_company'],
|
||||
'mail_text_resend_link': ['event', 'url', 'invoice_name', 'invoice_company'],
|
||||
@@ -468,7 +468,7 @@ class MailSettingsPreview(EventPermissionRequiredMixin, View):
|
||||
'code': '68CYU2H6ZTP3WLK5',
|
||||
'invoice_name': _('John Doe'),
|
||||
'invoice_company': _('Sample Corporation'),
|
||||
'paymentinfo': _('Please transfer money to this bank account: 9999-9999-9999-9999')
|
||||
'payment_info': _('Please transfer money to this bank account: 9999-9999-9999-9999')
|
||||
}
|
||||
|
||||
def generate_order_url(self, code, secret):
|
||||
|
||||
Reference in New Issue
Block a user