Revision 0631649c
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
2161 | 2161 |
# Is an old file version available? |
2162 | 2162 |
my $attfile; |
2163 | 2163 |
if ($::form->{attachment_policy} eq 'old_file') { |
2164 |
$attfile = SL::File->get_all(object_id => $id, |
|
2165 |
object_type => $::form->{formname}, |
|
2166 |
file_type => 'document'); |
|
2164 |
$attfile = SL::File->get_all(object_id => $id, |
|
2165 |
object_type => $type, |
|
2166 |
file_type => 'document', |
|
2167 |
print_variant => $::form->{formname},); |
|
2167 | 2168 |
} |
2168 | 2169 |
|
2169 | 2170 |
if ($::form->{attachment_policy} eq 'no_file' || ($::form->{attachment_policy} eq 'old_file' && $attfile)) { |
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.