fix - change base of pre sale / extra sale on quota stat & total purchase of rancher in Quota usage calculation
This commit is contained in:
@@ -863,6 +863,8 @@ class OrganizationQuotaStats(BaseModel):
|
||||
('distribution', 'DISTRIBUTION'),
|
||||
('quota', 'QUOTA'),
|
||||
), default='distribution')
|
||||
free_sale_balance = models.PositiveBigIntegerField(default=0)
|
||||
pre_sale_balance = models.PositiveBigIntegerField(default=0)
|
||||
|
||||
def update_amount(self, main_quota=None):
|
||||
""" calculate total/sold/remaining """
|
||||
|
||||
Reference in New Issue
Block a user