fix - entry balance in org quota stat

This commit is contained in:
2025-11-22 09:42:16 +03:30
parent a32892707f
commit 70e5ef8cf3

View File

@@ -476,6 +476,7 @@ class Quota(BaseModel):
"quota_distributed": stat.first().total_distributed if stat.exists() else 0,
"been_sold": stat.first().sold_amount if stat.exists() else 0,
"inventory_received": stat.first().inventory_received if stat.exists() else 0,
"inventory_entry_balance": stat.first().inventory_entry_balance if stat.exists() else 0,
}
def soft_delete(self):