add danish bank account

This commit is contained in:
Thomas Steen Rasmussen 2016-06-01 12:49:51 +02:00
parent 1d768b6458
commit 7acf2e5acd
3 changed files with 6 additions and 2 deletions

View file

@ -18,4 +18,6 @@ PDF_LETTERHEAD_FILENAME=''
MEDIA_ROOT=''
BANKACCOUNT_IBAN=''
BANKACCOUNT_SWIFTBIC=''
BANKACCOUNT_REG=''
BANKACCOUNT_ACCOUNT=''

View file

@ -9,8 +9,8 @@
of the full amount of <b>{{ total|currency }}</b> using the following information:</p>
<ul class="lead">
<li><strong>IBAN</strong>: {{ iban }}</li>
<li><strong>Swift/BIC</strong>: {{ swiftbic }}</li>
<li><strong>IBAN</strong>: {{ iban }} (Danish reg. no. {{ regno }})</li>
<li><strong>Swift/BIC</strong>: {{ swiftbic }} (Danish account no. {{ accountno }}</li>
<li><strong>Reference*</strong>: bornhack #{{ orderid }}</li>
</ul>

View file

@ -406,6 +406,8 @@ class BankTransferView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUnpai
context['iban'] = settings.BANKACCOUNT_IBAN
context['swiftbic'] = settings.BANKACCOUNT_SWIFTBIC
context['orderid'] = self.get_object().pk
context['regno'] = settings.BANKACCOUNT_REG
context['accountno'] = settings.BANKACCOUNT_ACCOUNT
context['total'] = self.get_object().total
return context