FIX Accountancy - Avoid space on FEC name file (#29716)

This commit is contained in:
Alexandre SPANGARO 2024-05-21 17:05:36 +02:00 committed by GitHub
parent cc459b549b
commit 4e9230b79d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,7 @@ if (($accountancyexport->getFormatCode($formatexportset) == 'fec' || $accountanc
}
$endaccountingperiod = dol_print_date(dol_get_last_day($tmparray['year'], $tmparray['mon']), 'dayxcard');
$siren = str_replace(" ", "", $siren);
$completefilename = $siren."FEC".$endaccountingperiod.".txt";
} elseif ($accountancyexport->getFormatCode($formatexportset) == 'ciel' && $type_export == "general_ledger" && getDolGlobalString('ACCOUNTING_EXPORT_XIMPORT_FORCE_FILENAME')) {
$completefilename = "XIMPORT.TXT";