new: add hidden option to add export file with date time
This commit is contained in:
parent
775a8c5334
commit
9b0c7d0904
@ -615,6 +615,9 @@ class Export
|
||||
} else {
|
||||
$filename = "export_".$datatoexport;
|
||||
}
|
||||
if (!empty($conf->global->EXPORT_NAME_WITH_DT)) {
|
||||
$filename .= dol_print_date(dol_now(), '%Y%m%d%_%H%M');
|
||||
}
|
||||
$filename .= '.'.$objmodel->getDriverExtension();
|
||||
$dirname = $conf->export->dir_temp.'/'.$user->id;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user