forked from Wavyzz/dolibarr
Fix Winfic accountancy export for due date
This commit is contained in:
@@ -617,9 +617,8 @@ class AccountancyExport
|
|||||||
|
|
||||||
$Tab['code_stat'] = str_repeat(' ', 4);
|
$Tab['code_stat'] = str_repeat(' ', 4);
|
||||||
|
|
||||||
if (!empty($data->date_echeance))
|
if (!empty($data->date_lim_reglement))
|
||||||
//$Tab['date_echeance'] = dol_print_date($data->date_echeance, $conf->global->ACCOUNTING_EXPORT_DATE);
|
$Tab['date_echeance'] = dol_print_date($data->date_lim_reglement, '%d%m%Y');
|
||||||
$Tab['date_echeance'] = dol_print_date($data->date_echeance, '%d%m%Y');
|
|
||||||
else
|
else
|
||||||
$Tab['date_echeance'] = dol_print_date($data->doc_date, '%d%m%Y');
|
$Tab['date_echeance'] = dol_print_date($data->doc_date, '%d%m%Y');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user