projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c0ca78
)
SelfTest: ar_amount nicht bei Anzahlungs- oder Schlußrechnungen prüfen
author
Jan Büren
<jan@kivitendo.de>
Mon, 14 Feb 2022 09:39:33 +0000
(10:39 +0100)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 14 Feb 2022 12:54:09 +0000
(13:54 +0100)
SL/BackgroundJob/SelfTest/Transactions.pm
patch
|
blob
|
history
diff --git
a/SL/BackgroundJob/SelfTest/Transactions.pm
b/SL/BackgroundJob/SelfTest/Transactions.pm
index
9eda722
..
ab145ce
100644
(file)
--- a/
SL/BackgroundJob/SelfTest/Transactions.pm
+++ b/
SL/BackgroundJob/SelfTest/Transactions.pm
@@
-472,6
+472,7
@@
sub check_ar_acc_trans_amount {
from acc_trans ac left join ar on (ac.trans_id = ar.id)
WHERE ac.chart_link like 'AR_amount%'
AND ac.transdate >= ? AND ac.transdate <= ?
+ AND ar.type = 'invoice'
group by invnumber,netamount having sum(ac.amount) <> ar.netamount|;
my $ar_amount_not_ac_amount = selectall_hashref_query($::form, $self->dbh, $query, $self->fromdate, $self->todate);