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:

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