fix - repeatitive closed quotas

This commit is contained in:
2025-12-08 16:22:19 +03:30
parent 843add3113
commit 83e4909299
3 changed files with 113 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ class QuotaDashboardService:
if org.type.key == 'ADM':
org_quota_stats = OrganizationQuotaStats.objects.filter(stat_type='quota', quota__is_closed=quota_is_closed)
print(len(org_quota_stats), quota_is_closed)
else:
org_quota_stats = OrganizationQuotaStats.objects.filter(
organization=org,