X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f4dca613e8bead358d42df904b2b54b098ef0fcb..a040e91fba51d85031b0b388ec3965da24f2dc31:/SL/DB/Order.pm diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 573e4f5c5..1be7b22bf 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -86,18 +86,6 @@ sub end_invoice { return shift()->invoices(query => [ abschlag => 0 ]); } -sub convert_to { - my ($self, %params) = @_; - - my $destination_type = lc(delete $params{destination_type}); - - if ($destination_type eq 'invoice') { - $self->convert_to_invoice(%params); - } else { - croak("Unsupported destination type `$destination_type'"); - } -} - sub convert_to_invoice { my ($self, %params) = @_;