activate quota - distribution list

This commit is contained in:
2025-07-24 17:00:27 +03:30
parent 18fd27a9c4
commit 1bc74252b6
3 changed files with 33 additions and 2 deletions

View File

@@ -386,7 +386,7 @@ class Quota(BaseModel):
return self.quota_weight - distributed_weight
def is_in_valid_time(self):
""" check if quota allowed time for distribute, sale, etc is expired"""
""" check if quota allowed time for distribute, sale, etc is expired """
now = datetime.now()
persian_date = jdatetime.datetime.fromgregorian(datetime=now)