Force grouping on value filter

This commit is contained in:
Edgar P. Burkhart 2022-05-24 18:14:22 +02:00
parent d2d27caf41
commit d7558cfa0c
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -12,7 +12,7 @@ def value(val, pm=False):
return mark_safe("–") return mark_safe("–")
_prefix = "" _prefix = ""
_suffix = " €" _suffix = " €"
_val = formats.number_format(val, 2, use_l10n=True) _val = formats.number_format(val, 2, use_l10n=True, force_grouping=True)
if val > 0: if val > 0:
if pm: if pm: