From 14e0d8090f4f352a95214c12892beed4c2105111 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Sat, 25 Mar 2017 10:01:35 -0300 Subject: [PATCH] Add euros symbols --- kfet/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kfet/models.py b/kfet/models.py index f9cc321b..77d37317 100644 --- a/kfet/models.py +++ b/kfet/models.py @@ -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,