fix - active quotas registere change from true to org filter"

This commit is contained in:
2025-11-18 15:22:17 +03:30
parent 91e86159e1
commit 23e927a631
2 changed files with 2 additions and 1 deletions

View File

@@ -815,6 +815,7 @@ class OrganizationQuotaStats(BaseModel):
distributions = models.ManyToManyField(QuotaDistribution)
total_amount = models.PositiveBigIntegerField(default=0)
total_distributed = models.PositiveBigIntegerField(default=0)
inventory_received = models.PositiveBigIntegerField(default=0)
sold_amount = models.PositiveBigIntegerField(default=0)
remaining_amount = models.PositiveBigIntegerField(default=0) # total - sold
stat_type = models.CharField(max_length=150, choices=(