diff options
author | MS <ms@taler.net> | 2020-10-15 23:27:10 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-10-15 23:27:10 +0200 |
commit | 9359f6281a46b86f421e4ec02ce1f90e4ac2dbd7 (patch) | |
tree | 03e36e9db53efa85197e459320fd86d3a60a9240 /talerbank/app/views.py | |
parent | adbe7cbecc1c91398622dbf3f0c12f910f7c0d4d (diff) | |
download | bank-9359f6281a46b86f421e4ec02ce1f90e4ac2dbd7.tar.gz bank-9359f6281a46b86f421e4ec02ce1f90e4ac2dbd7.tar.bz2 bank-9359f6281a46b86f421e4ec02ce1f90e4ac2dbd7.zip |
payto wire transfer
moving the form to a different page
Diffstat (limited to 'talerbank/app/views.py')
-rw-r--r-- | talerbank/app/views.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/talerbank/app/views.py b/talerbank/app/views.py index 1855609..ecb0ec7 100644 --- a/talerbank/app/views.py +++ b/talerbank/app/views.py @@ -297,6 +297,14 @@ class InputDatalist(forms.TextInput): class PaytoTransferForm(forms.Form): address = forms.CharField() + +@login_required +def payto_form(request): + context = dict( + currency=request.user.bankaccount.balance.amount.currency, + ) + return render(request, "payto_wiretransfer.html", context) + ## # This method serves the profile page, which is the main # page where the user interacts with the bank, and also the |