fix
This commit is contained in:
@@ -135,7 +135,7 @@ class CounterpartyBalance(BaseModel):
|
|||||||
@property
|
@property
|
||||||
def total_balance(self):
|
def total_balance(self):
|
||||||
usd_course = Decimal(UsdCourse.objects.first().value) if UsdCourse.objects.exists() else Decimal(12000)
|
usd_course = Decimal(UsdCourse.objects.first().value) if UsdCourse.objects.exists() else Decimal(12000)
|
||||||
return self.total_balance_usd + (self.total_balance_usd * usd_course)
|
return self.total_balance_uzs + (self.total_balance_usd * usd_course)
|
||||||
|
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user