3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-22 11:23:11 +00:00

Fix de l'affichage des rechargements sur le profil

Close #14
This commit is contained in:
Yoann Pétri 2018-12-16 09:38:03 +01:00
parent 9750035fd7
commit 949fc3dd1d

View file

@ -111,7 +111,7 @@ def profile(request, pk):
self = request.user == user
cotisations = CotisationHistory.objects.filter(user=user)
whitelists = WhiteListHistory.objects.filter(user=user)
reloads = Reload.objects.filter(customer=user).order_by('-date')
reloads = Reload.objects.filter(customer=user).order_by('-date')[:5]
consumptionsChart = Consumption.objects.filter(customer=user)
products = []
quantities = []