real-prod #855

Merged
lbailly merged 17 commits from real-prod into cof-prod 2025-02-26 08:51:23 +01:00
Showing only changes of commit 81af13a216 - Show all commits

View file

@ -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,