closing payments page for coaches
This commit is contained in:
@@ -173,7 +173,9 @@ def rower_get_coaches(rower):
|
||||
|
||||
def coach_getcoachees(coach):
|
||||
if coach.mycoachgroup and coach.rowerplan == 'coach':
|
||||
return Rower.objects.filter(coachinggroups__in=[coach.mycoachgroup]).distinct()
|
||||
return Rower.objects.filter(
|
||||
coachinggroups__in=[coach.mycoachgroup]
|
||||
).distinct().order_by("user__last_name","user__first_name")
|
||||
else:
|
||||
return []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user