fix(kfet/accounts): Exclude #13 from the statistics
This commit is contained in:
parent
1a8fe48d05
commit
81af13a216
1 changed files with 2 additions and 2 deletions
|
@ -184,8 +184,8 @@ class DemandeSoireeView(FormView):
|
|||
@teamkfet_required
|
||||
def account(request):
|
||||
accounts = Account.objects.select_related("cofprofile__user").order_by("trigramme")
|
||||
positive_accounts = Account.objects.filter(balance__gte=0)
|
||||
negative_accounts = Account.objects.filter(balance__lt=0)
|
||||
positive_accounts = Account.objects.filter(balance__gte=0).exclude(trigramme="#13")
|
||||
negative_accounts = Account.objects.filter(balance__lt=0).exclude(trigramme="#13")
|
||||
|
||||
return render(request, "kfet/account.html", {
|
||||
"accounts": accounts,
|
||||
|
|
Loading…
Add table
Reference in a new issue