add stamp / no-stamp to export-by-email and export-by-ftp (#4437)

add default (disabled) stamp settings on new collections
add "record_edit" & "image_tools" to conf / export-stamp-choice privilege
This commit is contained in:
jygaulier
2023-12-14 17:20:53 +01:00
committed by GitHub
parent e97751be96
commit 8df3cf55b7
12 changed files with 210 additions and 66 deletions

View File

@@ -83,7 +83,8 @@ class set_exportftp extends set_export
->setFilename($filename)
->setFolder($properties['folder'])
->setRecordId($file['record_id'])
->setSubdef($subdef);
->setSubdef($subdef)
->setToStamp($file['to_stamp'] !== set_export::NO_STAMP);
$export->addElement($element);
$this->app['orm.em']->persist($element);