Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 87d5463d

Von Jan Büren vor mehr als 7 Jahren hinzugefügt

  • ID 87d5463d310ccf8365d5ad1bc1067e0fa3b16636
  • Vorgänger a33ef0ec
  • Nachfolger f0d5e4bb

BankTransaction: minimal Kosmetik

Unterschiede anzeigen:

SL/Controller/BankTransaction.pm
222 222
    # the arrays $bt->{proposals} and $bt->{rule_matches}, and the agreement
223 223
    # score is stored in $bt->{agreement}
224 224

  
225
    foreach my $open_invoice (@all_non_sepa_invoices){
225
    foreach my $open_invoice (@all_non_sepa_invoices) {
226 226
      ($open_invoice->{agreement}, $open_invoice->{rule_matches}) = $bt->get_agreement_with_invoice($open_invoice);
227
      $open_invoice->{realamount} = $::form->format_amount(\%::myconfig,$open_invoice->amount*($open_invoice->{is_ar}?1:-1),2);
228
      $main::lxdebug->message(LXDebug->DEBUG2(),"nons invoice_id=".$open_invoice->id." amount=".$open_invoice->amount." agreement=".$open_invoice->{agreement}." rules matches=".$open_invoice->{rule_matches}) if $open_invoice->{agreement} > 2;
229
    };
227
      $open_invoice->{realamount} = $::form->format_amount(\%::myconfig,
228
                                      $open_invoice->amount * ($open_invoice->{is_ar} ? 1 : -1), 2);
229
    }
230 230

  
231 231
    my $agreement = 15;
232 232
    my $min_agreement = 3; # suggestions must have at least this score

Auch abrufbar als: Unified diff