diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index f9a1333..2ba7f28 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -1080,7 +1080,7 @@ class DeclarationTVA_PDF /** * Format SIRET number with special spacing - * Adds space between every character, with extra space before last 5 characters + * Adds space between every character, with 2 extra spaces before last 5 characters * * @param string $siret SIRET number * @return string Formatted SIRET @@ -1102,8 +1102,8 @@ class DeclarationTVA_PDF // Add space between every character in main part $formatted_main = implode(' ', str_split($main_part)); - // Add space between every character in last 5, with extra space before - $formatted_last = ' ' . implode(' ', str_split($last_5)); + // Add space between every character in last 5, with 2 extra spaces before + $formatted_last = ' ' . implode(' ', str_split($last_5)); return $formatted_main . $formatted_last; }