Revision 0631649c
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
975 | 975 |
$attachment_name =~ s{\.(.+?)$}{.${ext_for_format}} if ($ext_for_format); |
976 | 976 |
|
977 | 977 |
if (($self->{attachment_policy} // '') eq 'old_file') { |
978 |
my ( $attfile ) = SL::File->get_all(object_id => $self->{id}, |
|
979 |
object_type => $self->{formname}, |
|
980 |
file_type => 'document'); |
|
978 |
my ( $attfile ) = SL::File->get_all(object_id => $self->{id}, |
|
979 |
object_type => $self->{type}, |
|
980 |
file_type => 'document', |
|
981 |
print_variant => $self->{formname},); |
|
981 | 982 |
|
982 | 983 |
if ($attfile) { |
983 | 984 |
$attfile->{override_file_name} = $attachment_name if $attachment_name; |
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.