Revision 6b019910
Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
934 | 934 |
} |
935 | 935 |
} |
936 | 936 |
|
937 |
if (!$self->{preview} && $self->doc_storage_enabled) |
|
937 |
if (!$self->{preview} && $self->{attachment_type} !~ m{^dunning} && $self->doc_storage_enabled)
|
|
938 | 938 |
{ |
939 | 939 |
$self->{attachment_filename} ||= $self->generate_attachment_filename; |
940 | 940 |
$self->store_pdf($self); |
... | ... | |
954 | 954 |
} |
955 | 955 |
} |
956 | 956 |
|
957 |
if ( !$self->{preview} && $ext_for_format eq 'pdf' && $self->doc_storage_enabled) { |
|
957 |
if ( !$self->{preview} && $ext_for_format eq 'pdf' && $self->{attachment_type} !~ m{^dunning} && $self->doc_storage_enabled) {
|
|
958 | 958 |
$self->{attachment_filename} ||= $self->generate_attachment_filename; |
959 | 959 |
my $file_obj = $self->store_pdf($self); |
960 | 960 |
$self->{print_file_id} = $file_obj->id if $file_obj; |
Auch abrufbar als: Unified diff
Mahnungen: alle erzeugten Dokumente zu jeder gemahnten Rechnung im DMS ablegen
Dazu die Dateien nicht mehr in SL::Form::parse_template speichern lassen,
sondern in SL::DN selber für jede gemahnt Rechnung ablegen.