Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Invoices PDF wrong currency #3129

Closed
juandl opened this issue Feb 2, 2025 · 1 comment · Fixed by #3225
Closed

[BUG]: Invoices PDF wrong currency #3129

juandl opened this issue Feb 2, 2025 · 1 comment · Fixed by #3225

Comments

@juandl
Copy link

juandl commented Feb 2, 2025

Describe the bug
I have a customer with currency BHD, but the invoice is showing "arabic" currency, not the english.

Customer has "Document language" set to "English"

Expected behavior
It should show the same currency set on the customer profile.

Screenshots

Invoice PDF

Image

Front Lago

Image

Additional context
Add any other context about the problem here.

Version

  • Lago: 1.20.2
@brunomiguelpinto
Copy link
Contributor

Thanks for reporting this! We’re taking a look into the issue with the currency display on the invoice. We’ll update you as soon as we have more information.

If you notice anything else in the meantime, feel free to share!

vincent-pochet added a commit that referenced this issue Feb 20, 2025
## Context

This PR fixes #3129

## Description

This PR will keep using symbols on invoice for currencies using "well
known" symbols (`$`, `€`, `£` and `¥`) but will fallback on ISO codes
for others:
- `100 USD`, or `100 CAD` will still be rendered as `$100.00`
- `100 BHD` will be rendred as `BHD 100.000`

The local is also taken into account, for example with french locale:
- `100 USD`, or `100 CAD` will still be rendered as `100.00 $`
- `100 BHD` will be rendred as `100.000 BHD`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants