Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0631649c

Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt

  • ID 0631649c2c4115f5820829f866af7e2bc2c6623f
  • Vorgänger 754ef842
  • Nachfolger a40c356e

Files: Druckvariante beim Drucken speichern und bei E-Mail darauf prüfen, …

… um festzustellen, welcher letzte Belegausdruck für die Variante relrevant
ist.

Unterschiede anzeigen:

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