PDF invoice issues (Translation/Localisation/Currency-Formatting)

Hello @hillel,

in 5.1.7 I tested different Currency-Settings: The currency selection does not correspond to the chosen language: for DE it schould be Symbol: €1.000,00 or Code: 1.000,00 EUR (not 1,000.00…).

Bildschirmfoto 2021-02-22 um 16.21.48

When using the €-Symbol it is prefixed with no space in front of the number in the UI but postfixed in the PDF, which leads to quirky linebreaks (e.g. template “Plain”):

Using the EUR-Code looks fine but should be bound to the number via non-breakable-space.

There are some untranslated/unlocalized items/formattings due to the fact, that there is work in progress before release, right?

I created a invocie for one project an realized, that here is currently not option to include the project-name, and the generated project-name/number (={$client_id_number}_{$client_counter}. Is there a way to access these variables via invoice designer or a list, where I can look up (except from those shown in the designer). I am sure, you have an idea.

@david thoughts on this?

@cdahinten thanks for the detailed feedback, clearly some things we need to fix there, I’ll add in those additional variables. I don’t think the $client_counter will be possible as it isn’t saved separately, but combined into the invoice number, however $client_number can be added.

@ben

Can you think of a solution which will not do a line break for the currency codes? I think we’ll need to prioritize any currency columns to full width?

@hillel account_balance isn’t translated in the app so the en version is displaying

I assume the fix for account_balance would be on the backend?

yes, we just need to wait for the translations

@david, would it be helpful to contribute here – or does this belong to 4.5 release?

Hello @david, this would be great to have at least the projekt-name and the project-number (which is set (={$client_id_number}_{$client_counter} on the invoice.

Due to the fact that all communication (E-Mail/Chat/Fileserver) is channeled with this unique identifier e.g. GFBH_00345. This is the identifier which helps the client to keep track over the invoiced projects – not the timetracking logs / task listet.

Can you give me an signal, when there is something I can test?

@cdahinten

Yes, if you update the translations for your languages there we will pull these into the codebase :slight_smile:

@cdahinten

I am going to tag a new release shortly.

I’ve fixed the date translations, and we are working on the remaining issues.

Also, I have updated the documentation to list ALL the available variables that can be used inside the invoice design.

Note, $client.number is probably the variable you are looking for to replace $client_counter

I’ve also included $project.name and $project.number

https://invoiceninja.github.io/docs/custom-fields/

2 Likes

@david, brilliant! The custom-fields will do the trick. Thank you.

1 Like