X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/7ecc9c39ec53104441b68ba802e356785d8ca199..f7866adf1844e79ada8df88c703b0ec9a39c5657:/SL/CVar.pm diff --git a/SL/CVar.pm b/SL/CVar.pm index 49e378666..6d04f35a9 100644 --- a/SL/CVar.pm +++ b/SL/CVar.pm @@ -721,7 +721,7 @@ sub format_to_template { # stupid template expects everything formated. except objects # do not use outside of print routines for legacy templates - return $::form->parse_amount(\%::myconfig, $value) if $config->{type} eq 'number'; + return $::form->format_amount(\%::myconfig, $value) if $config->{type} eq 'number'; return $value->to_lxoffice if $config->{type} eq 'date' && blessed $value && $value->can('to_lxoffice'); return $value; }