mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-16 16:33:12 +00:00
Classe par date du plus récent au plus ancien pour les cotiz
This commit is contained in:
parent
19cf3b4f83
commit
20218f0bfd
1 changed files with 1 additions and 1 deletions
|
@ -82,5 +82,5 @@ def edit_facture(request, factureid):
|
|||
return form({'factureform': facture_form}, 'cotisations/facture.html', request)
|
||||
|
||||
def index(request):
|
||||
facture_list = Facture.objects.order_by('pk')
|
||||
facture_list = Facture.objects.order_by('date').reverse()
|
||||
return render(request, 'cotisations/index.html', {'facture_list': facture_list})
|
||||
|
|
Loading…
Reference in a new issue