change to rial

This commit is contained in:
aminhashemi92 2025-10-07 08:01:58 +03:30
parent dd64b7b47c
commit 02415f4dee
11 changed files with 56 additions and 56 deletions

View file

@ -38,7 +38,7 @@ class Item(NameSlugModel):
ordering = ['name']
def __str__(self):
return f"{self.name} - {self.unit_price} تومان"
return f"{self.name} - {self.unit_price} ریال"
class Quote(NameSlugModel):
"""مدل پیش‌فاکتور"""
@ -383,7 +383,7 @@ class Payment(BaseModel):
ordering = ['-payment_date']
def __str__(self):
return f"پرداخت {self.amount} تومان - {self.invoice.name}"
return f"پرداخت {self.amount} ریال - {self.invoice.name}"
def save(self, *args, **kwargs):
"""بروزرسانی مبالغ فاکتور"""