forked from DGNum/gestioCOF
Add euros symbols
This commit is contained in:
parent
d8f572bb01
commit
14e0d8090f
1 changed files with 4 additions and 4 deletions
|
@ -575,10 +575,10 @@ class Operation(models.Model):
|
|||
def __str__(self):
|
||||
templates = {
|
||||
self.PURCHASE: "{nb} {article.name} ({amount}€)",
|
||||
self.DEPOSIT: "charge ({amount})",
|
||||
self.WITHDRAW: "retrait ({amount})",
|
||||
self.INITIAL: "initial ({amount})",
|
||||
self.EDIT: "édition ({amount})",
|
||||
self.DEPOSIT: "charge ({amount}€)",
|
||||
self.WITHDRAW: "retrait ({amount}€)",
|
||||
self.INITIAL: "initial ({amount}€)",
|
||||
self.EDIT: "édition ({amount}€)",
|
||||
}
|
||||
return templates[self.type].format(nb=self.article_nb,
|
||||
article=self.article,
|
||||
|
|
Loading…
Reference in a new issue