From 3eced33082822f87de028d965c2e342465ea8be0 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO <yohann.danello@gmail.com> Date: Wed, 7 Oct 2020 17:43:28 +0200 Subject: [PATCH] Well, everyone doesn't want a secondary bank account --- apps/registration/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/registration/views.py b/apps/registration/views.py index 1ec069a4..3c2ea0a7 100644 --- a/apps/registration/views.py +++ b/apps/registration/views.py @@ -235,7 +235,7 @@ class FutureUserDetailView(ProtectQuerysetMixin, LoginRequiredMixin, FormMixin, fee += 8000 ctx["total_fee"] = "{:.02f}".format(fee / 100, ) - ctx["declare_soge_account"] = True + ctx["declare_soge_account"] = SogeCredit.objects.filter(user=user).exists() return ctx -- GitLab