Revision daa00fb8
SL/DB/BankTransaction.pm | ||
---|---|---|
|
||
|
||
sub get_agreement_with_invoice {
|
||
my ($self, $invoice, %params) = @_;
|
||
my ($self, $invoice) = @_;
|
||
|
||
carp "get_agreement_with_invoice needs an invoice object as its first argument"
|
||
unless ref($invoice) eq 'SL::DB::Invoice' or ref($invoice) eq 'SL::DB::PurchaseInvoice';
|
Auch abrufbar als: Unified diff
Hin- und Her: die parameter seis sind überhaupt nicht notwendig und ...
... waren es auch nie wirklich (macht es nur komplizierter)