From: Jan Büren Date: Thu, 17 Dec 2015 15:47:15 +0000 (+0100) Subject: SelfTest: Bei overpaid auch invnumber ausgeben, zur besseren Analyse X-Git-Tag: release-3.4.1~505 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3c69e834677110360a187c6ef2d807131265462e;p=kivitendo-erp.git SelfTest: Bei overpaid auch invnumber ausgeben, zur besseren Analyse --- diff --git a/SL/BackgroundJob/SelfTest/Transactions.pm b/SL/BackgroundJob/SelfTest/Transactions.pm index a8ab02464..105456800 100644 --- a/SL/BackgroundJob/SelfTest/Transactions.pm +++ b/SL/BackgroundJob/SelfTest/Transactions.pm @@ -383,10 +383,10 @@ WHERE if (defined $invoice->{datepaid}) { $self->tester->diag("datepaid = $invoice->{datepaid})"); } - $self->tester->diag("Überzahlung!") if $invoice->{"paid via acc_trans"} > $invoice->{amount}; + $self->tester->diag("Überzahlung bei Rechnung: $invoice->{invnumber}") if $invoice->{"paid via acc_trans"} > $invoice->{amount}; } elsif ( $invoice->{"amount"} - $invoice->{"paid via acc_trans"} != $invoice->{"open via ar"} && $invoice->{"paid via ar"} != $invoice->{"paid via acc_trans"}) { $self->tester->diag("amount - paid_via_acc_trans != open_via_ar"); - $self->tester->diag("Überzahlung!") if $invoice->{"paid via acc_trans"} > $invoice->{amount}; + $self->tester->diag("Überzahlung bei Rechnung: $invoice->{invnumber}") if $invoice->{"paid via acc_trans"} > $invoice->{amount}; } else { # nothing wrong }