Revision 0631649c
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/Helper/File.pm | ||
---|---|---|
25 | 25 |
return if !$id || !$type; |
26 | 26 |
|
27 | 27 |
SL::File->save( |
28 |
object_id => $id, |
|
29 |
object_type => $type, |
|
30 |
mime_type => 'application/pdf', |
|
31 |
source => 'created', |
|
32 |
file_type => 'document', |
|
33 |
file_name => $form->{attachment_filename}, |
|
34 |
file_path => $form->{tmpfile}, |
|
28 |
object_id => $id, |
|
29 |
object_type => $type, |
|
30 |
mime_type => 'application/pdf', |
|
31 |
source => 'created', |
|
32 |
file_type => 'document', |
|
33 |
file_name => $form->{attachment_filename}, |
|
34 |
file_path => $form->{tmpfile}, |
|
35 |
print_variant => $form->{formname}, |
|
35 | 36 |
); |
36 | 37 |
} |
37 | 38 |
|
Auch abrufbar als: Unified diff
Files: Druckvariante beim Drucken speichern und bei E-Mail darauf prüfen, …
… um festzustellen, welcher letzte Belegausdruck für die Variante relrevant
ist.