projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4dca61
)
Überflüssige Funktion
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 12 Jan 2011 15:25:48 +0000
(16:25 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 12 Jan 2011 15:25:48 +0000
(16:25 +0100)
Conflicts:
SL/DB/Order.pm
SL/DB/Order.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Order.pm
b/SL/DB/Order.pm
index
573e4f5
..
1be7b22
100644
(file)
--- 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) = @_;