X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/cadf8b8bfba4fe1b337761d64999fd37ef40ffb0..c954dea7c1b814d66b8c31d04fa70a1bbbcce71e:/SL/Controller/BankTransaction.pm diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index 4bd488dce..752dba0a4 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -149,12 +149,12 @@ sub action_list { foreach my $bt (@{ $bank_transactions }) { ## 5 Stellen hinter dem Komma auf 2 Stellen reduzieren - @{$bt->{rule_matches}} = (); $bt->amount($bt->amount*1); $bt->invoice_amount($bt->invoice_amount*1); $main::lxdebug->message(LXDebug->DEBUG2(),"BT ".$bt->id." amount=".$bt->amount." invoice_amount=".$bt->invoice_amount." remote=". $bt->{remote_name}); - $bt->{proposals} = (); + $bt->{proposals} = []; + $bt->{rule_matches} = []; $bt->{remote_name} .= $bt->{remote_name_1} if $bt->{remote_name_1}; @@ -305,7 +305,6 @@ sub action_create_invoice { vendor_id => $use_vendor_filter ? $vendor_of_transaction->id : undef, vendor_name => $use_vendor_filter ? $vendor_of_transaction->name : undef, ALL_VENDORS => $all_vendors, - limit => $myconfig{vclimit}, callback => $callback, ); }