Version
v5.10.57-L171
Environment <Docker/Shared Hosting/Zip/Other>
Docker
Hello,
the variable for invoice-numbers has a little taint. It prints not only the invoice-number but Re-Nr. right before the number without any space (!). So instead of “RE2024.XXXX” it outputs “Re-Nr.RE2024.XXXX”. See screenshot below:
Variable $number does not work because it prints the number of the payment (what’s logical).
Is there another variable which only prints the clean invoice-number without the Re-Nr.-Prefix?
Best greetings
Schmitti
hillel
November 25, 2024, 4:16pm
2
Hi,
Do you have any idea where the ‘Re-Nr’ value is coming from?
Hi, @hillel ,
after your question I found it here in line 31:
<?php
$lang = array(
'organization' => 'Unternehmen',
'name' => 'Name',
'website' => 'Webseite',
'work_phone' => 'Telefon',
'address' => 'Adresse',
'address1' => 'Straße',
'address2' => 'Adresszusatz',
'city' => 'Stadt',
'state' => 'Bundesland',
'postal_code' => 'Postleitzahl',
'country_id' => 'Land',
'contacts' => 'Kontakte',
'first_name' => 'Vorname',
'last_name' => 'Nachname',
'phone' => 'Telefon',
'email' => 'E-Mail',
'additional_info' => 'Zusätzliche Informationen',
This file has been truncated. show original
I checked my two installations – the testing-one with an older version and the productively used one – and the problem occurs on both of it.
hillel
November 25, 2024, 4:29pm
4
I suggest creating a discussion on GitHub to ask
Allright, @hillel . I’m on my way