Private
Public Access
1
0

check rowerplan in checkexpired

This commit is contained in:
Sander Roosendaal
2017-05-16 20:16:13 +02:00
parent c393afdaba
commit 1973af07a1

View File

@@ -20,7 +20,8 @@ def getexpired():
lijst = []
for r in rs:
if r.planexpires < datetime.datetime.now().date():
lijst.append(r)
if r.rowerplan == 'pro' or r.rowerplan == 'coach':
lijst.append(r)
return lijst