Private
Public Access
1
0

link to import and end fitness stat

This commit is contained in:
Sander Roosendaal
2020-12-03 08:33:50 +01:00
parent 6fc4e33e39
commit b11e75e456
4 changed files with 49 additions and 15 deletions

View File

@@ -1578,7 +1578,7 @@ def performancemanager_view(request,userid=0,mode='rower',
else:
form = PerformanceManagerForm()
script, thediv = performance_chart(
script, thediv, endfitness, endfatigue, endform = performance_chart(
theuser,startdate=startdate,enddate=enddate,
kfitness = kfitness,
kfatigue = kfatigue,
@@ -1602,6 +1602,9 @@ def performancemanager_view(request,userid=0,mode='rower',
response = json.dumps({
'script':script,
'div':thediv,
'endform':int(endform),
'endfitness': int(endfitness),
'endfatigue': int(endfatigue),
})
return(HttpResponse(response,content_type='application/json'))
@@ -1616,6 +1619,9 @@ def performancemanager_view(request,userid=0,mode='rower',
'the_div':thediv,
'mode':mode,
'form':form,
'endfitness':int(endfitness),
'endfatigue':int(endfatigue),
'endform':int(endform),
})