Removed duplicate template and rendering logic

This commit is contained in:
Tobias Kunze
2016-08-22 16:00:50 +02:00
committed by Raphael Michel
parent 4fa631ab97
commit c31622fca1
2 changed files with 1 additions and 17 deletions

View File

@@ -36,10 +36,7 @@ class BankTransfer(BasePaymentProvider):
return True
def checkout_confirm_render(self, request):
form = self.payment_form(request)
template = get_template('pretixplugins/banktransfer/checkout_payment_confirm.html')
ctx = {'request': request, 'form': form, 'settings': self.settings}
return template.render(ctx)
return self.payment_form_render(request)
def order_pending_mail_render(self, order) -> str:
template = get_template('pretixplugins/banktransfer/email/order_pending.txt')

View File

@@ -1,13 +0,0 @@
{% load i18n %}
<p>{% blocktrans trimmed %}
After completing your purchase, we will ask you to transfer the money to the following
bank account, using a personal reference code:
{% endblocktrans %}</p>
<address>
{{ settings.bank_details|linebreaksbr }}<br>
<strong>
{% trans "We will assign you a personal reference code to use after you completed the order." %}
</strong>
</address>