Private
Public Access
1
0

confirmation emails to buyers

This commit is contained in:
Sander Roosendaal
2018-12-20 15:29:21 +01:00
parent 9272704f36
commit a9f11f4f76
10 changed files with 364 additions and 9 deletions

View File

@@ -732,7 +732,10 @@ class PlanSelectForm(forms.Form):
"price","clubsize","shortname"
)
if rower:
amount = rower.paidplan.price
try:
amount = rower.paidplan.price
except AttributeError:
amount = 0
self.fields['plan'].queryset = PaidPlan.objects.filter(
paymentprocessor=rower.paymentprocessor
).exclude(