Jinja2 Templating Currency

Hey there,

I am creating Print Formats with jinja2 and currently I have the problem, that I need to transform “EUR” in {{ doc.currency }} to “€”.
I have tried using {% get_currency_symbol(doc.currency) %} and various other functions, but had no luck yet. Does anyone know how to do this conversion ?

Kind regards,
Marius

Hi @Canlann

The euro symbol is already there in the currency, Try this just replace the field_name with respective field

{{doc.get_formatted("field_name",doc)}}

@bibinqcs thank you