Revision 07aa9777
Von Bernd Bleßmann vor etwa 3 Jahren hinzugefügt
SL/Controller/File.pm | ||
---|---|---|
399 | 399 |
if ( $self->file_type eq 'document' ) { |
400 | 400 |
my @object_types; |
401 | 401 |
push @object_types, $self->object_type; |
402 |
push @object_types, qw(dunning dunning1 dunning2 dunning3) if $self->object_type eq 'invoice'; # hardcoded object types? |
|
402 |
push @object_types, qw(dunning dunning1 dunning2 dunning3 dunning_orig_invoice) if $self->object_type eq 'invoice'; # hardcoded object types?
|
|
403 | 403 |
@files = SL::File->get_all_versions(object_id => $self->object_id, |
404 | 404 |
object_type => \@object_types, |
405 | 405 |
file_type => $self->file_type, |
Auch abrufbar als: Unified diff
Mahnungen: DMS: orig. Rechnung als eigenen Typ