]> git.parisson.com Git - teleforma.git/commitdiff
Using non-breakable space
authorGael Le Mignot <gael@pilotsystems.net>
Wed, 8 Jul 2020 09:36:39 +0000 (11:36 +0200)
committerGael Le Mignot <gael@pilotsystems.net>
Wed, 8 Jul 2020 09:36:39 +0000 (11:36 +0200)
teleforma/templatetags/payment.py

index b371f1bc150d5b20cfa631d3916058f9fbd8d041..57b46fcb88611175031e49eadf1a47b28a6c8629 100644 (file)
@@ -52,7 +52,7 @@ def payment_format_amount(value):
     else:
         prefix = ''
     while len(unit) > 3:
-        res = res + ' ' + unit[-3:]
+        res = res + ' ' + unit[-3:]
         unit = unit[:-3]
     res = prefix + unit + res
     return '%s,%s' % (res, decimal)