X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/d1f6e5010a26a1cb109700ca2b97cf75d551f10a..38bb9635fde8c2821c23da931bcb6acba8e4b8be:/SL/Controller/File.pm?ds=sidebyside diff --git a/SL/Controller/File.pm b/SL/Controller/File.pm index 5d2e97c67..fdfded276 100644 --- a/SL/Controller/File.pm +++ b/SL/Controller/File.pm @@ -399,7 +399,7 @@ sub _do_list { if ( $self->file_type eq 'document' ) { my @object_types; push @object_types, $self->object_type; - push @object_types, qw(dunning dunning1 dunning2 dunning3) if $self->object_type eq 'invoice'; # hardcoded object types? + push @object_types, qw(dunning1 dunning2 dunning3 dunning_invoice dunning_orig_invoice) if $self->object_type eq 'invoice'; # hardcoded object types? @files = SL::File->get_all_versions(object_id => $self->object_id, object_type => \@object_types, file_type => $self->file_type,