shine up the bank order page a bit

This commit is contained in:
Thomas Steen Rasmussen 2016-06-01 09:36:42 +02:00
parent 3a73c96dd8
commit 4735efb660
2 changed files with 6 additions and 1 deletions

View file

@ -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 %}

View file

@ -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
#################################################################################