3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-12-23 23:43:47 +00:00

Merge branch 'fix-affichage-rechargements' into dev

Close #14
This commit is contained in:
Yoann Pétri 2018-12-16 09:38:50 +01:00
commit 48ab574be2

View file

@ -111,7 +111,7 @@ def profile(request, pk):
self = request.user == user self = request.user == user
cotisations = CotisationHistory.objects.filter(user=user) cotisations = CotisationHistory.objects.filter(user=user)
whitelists = WhiteListHistory.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) consumptionsChart = Consumption.objects.filter(customer=user)
products = [] products = []
quantities = [] quantities = []