2
0
forked from Wavyzz/dolibarr

Fix Winfic accountancy export for due date

This commit is contained in:
Maxime Kohlhaas
2021-05-26 15:01:31 +02:00
parent 2ac9099e7d
commit b3a6bcd34f

View File

@@ -617,9 +617,8 @@ class AccountancyExport
$Tab['code_stat'] = str_repeat(' ', 4);
if (!empty($data->date_echeance))
//$Tab['date_echeance'] = dol_print_date($data->date_echeance, $conf->global->ACCOUNTING_EXPORT_DATE);
$Tab['date_echeance'] = dol_print_date($data->date_echeance, '%d%m%Y');
if (!empty($data->date_lim_reglement))
$Tab['date_echeance'] = dol_print_date($data->date_lim_reglement, '%d%m%Y');
else
$Tab['date_echeance'] = dol_print_date($data->doc_date, '%d%m%Y');