This commit is contained in:
Raphael Michel
2017-08-08 22:24:53 +02:00
parent c8230c55ee
commit a6c9fb0f8b
6 changed files with 23 additions and 31 deletions

View File

@@ -1,4 +1,5 @@
import json
import re
from collections import OrderedDict
from django.template.loader import get_template
@@ -46,7 +47,7 @@ class BankTransfer(BasePaymentProvider):
ctx = {
'event': self.event,
'order': order,
'details': self.settings.get('bank_details', as_type=LazyI18nString),
'details': re.sub('^', ' ', self.settings.get('bank_details', as_type=LazyI18nString), flags=re.MULTILINE),
}
return template.render(ctx)