Changing currency format on custom invoice template

Version: v5.13.37

Environment: Docker

Checklist

  • Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja ? Yes
  • Have you searched existing issues? Yes
  • Have you inspected the logs in storage/logs/laravel.log for any errors? No

Description

I have a custom invoice template and the two subtotal values are always using the GBP format, as instructed in the HTML. Is it possible to have it use whatever currency is used in invoice? When I remove the format_currency filter, it results in a plain value with no currency.

Hi,

Try: format_currency(invoice.client.currency)

Legend! That works.

Thanks so much

Glad to hear it, thanks for the update!