]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Minimaler Notflicken für #277
authorJan Büren <jan@kivitendo-premium.de>
Sun, 23 Jul 2017 19:11:03 +0000 (21:11 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Sun, 23 Jul 2017 19:11:03 +0000 (21:11 +0200)
Zumindestens werden damit überhaupt wieder Treffer in
der Vorschlagsliste für Banküberweisung mit SEPA erzeugt.
S.a. Details Ticket, dass ist kein akzeptabler Fix, sondern
nur der Flicken, damit Anwender die Vorschlagsliste überhaupt
wieder so nutzen können wie in 3.4.1

SL/Controller/BankTransaction.pm

index 96701ae96c5d8507ea4f4f40bf5e7de37a88f434..03826739139908c22bfc962ff30fe996ebba45e3 100644 (file)
@@ -222,7 +222,7 @@ sub action_list {
     # the arrays $bt->{proposals} and $bt->{rule_matches}, and the agreement
     # score is stored in $bt->{agreement}
 
     # the arrays $bt->{proposals} and $bt->{rule_matches}, and the agreement
     # score is stored in $bt->{agreement}
 
-    foreach my $open_invoice (@all_non_sepa_invoices) {
+    foreach my $open_invoice (@all_non_sepa_invoices, @all_sepa_invoices) {
       ($open_invoice->{agreement}, $open_invoice->{rule_matches}) = $bt->get_agreement_with_invoice($open_invoice);
       $open_invoice->{realamount} = $::form->format_amount(\%::myconfig,
                                       $open_invoice->amount * ($open_invoice->{is_ar} ? 1 : -1), 2);
       ($open_invoice->{agreement}, $open_invoice->{rule_matches}) = $bt->get_agreement_with_invoice($open_invoice);
       $open_invoice->{realamount} = $::form->format_amount(\%::myconfig,
                                       $open_invoice->amount * ($open_invoice->{is_ar} ? 1 : -1), 2);