check rowerplan in checkexpired
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user