move accound refound view to counter

This commit is contained in:
imperosol
2025-03-14 16:04:51 +01:00
committed by Thomas Girod
parent 002554b802
commit 26d4c4b811
11 changed files with 68 additions and 116 deletions

View File

@ -64,7 +64,7 @@ from core.views.forms import (
UserProfileForm,
)
from core.views.mixins import QuickNotifMixin, TabedViewMixin
from counter.models import Refilling, Selling
from counter.models import Counter, Refilling, Selling
from eboutic.models import Invoice
from subscription.models import Subscription
from trombi.views import UserTrombiForm
@ -361,8 +361,6 @@ class UserStatsView(UserTabsMixin, CanViewMixin, DetailView):
kwargs = super().get_context_data(**kwargs)
from django.db.models import Sum
from counter.models import Counter
foyer = Counter.objects.filter(name="Foyer").first()
mde = Counter.objects.filter(name="MDE").first()
gommette = Counter.objects.filter(name="La Gommette").first()