shine up the bank order page a bit
This commit is contained in:
parent
3a73c96dd8
commit
4735efb660
|
@ -4,12 +4,15 @@
|
|||
{% block shop_content %}
|
||||
|
||||
<h2>Pay by Bank Transfer</h2>
|
||||
<p>To pay order #{{ orderid }} you need to make a bank transfer
|
||||
of the full amount of <b>{{ total|currency }}</b> to the following account:</p>
|
||||
|
||||
<p class="lead">
|
||||
IBAN: {{ iban }}<br>
|
||||
Swift/BIC: {{ swiftbic }}
|
||||
</p>
|
||||
|
||||
<p>Note: Please allow for up to a week before we register your bank transfer, especially if you are outside of the SEPA region.</p>
|
||||
<p>Note: Please allow for up to a week before we register your bank
|
||||
transfer, especially if you are outside of the SEPA region.</p>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -383,6 +383,8 @@ class BankTransferView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUnpai
|
|||
context = super(BankTransferView, self).get_context_data(**kwargs)
|
||||
context['iban'] = settings.BANKACCOUNT_IBAN
|
||||
context['swiftbic'] = settings.BANKACCOUNT_SWIFTBIC
|
||||
context['orderid'] = self.get_object().pk
|
||||
context['total'] = self.get_object().total
|
||||
return context
|
||||
|
||||
#################################################################################
|
||||
|
|
Loading…
Reference in a new issue