From ebc6057ec17dc9e612ea126d81ee07e86d813568 Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 3 Apr 2023 16:14:11 +0000 Subject: [PATCH] Bug 29664: WIP Test Patch --- reports/cash_register_stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index c2b22f9db2..54db74c87d 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -69,7 +69,7 @@ if ($do_it) { if ($transaction_type eq 'ALL') { #All Transactons $whereTType = q{}; } elsif ($transaction_type eq 'ACT') { #Active - $whereTType = q{ AND credit_type_code IN ('PAYMENT','CREDIT') }; + $whereTType = q{ AND credit_type_code IN ('PAYMENT','CREDIT') AND status !='VOID' }; } elsif ($transaction_type eq 'FORW') { $whereTType = q{ AND credit_type_code IN ('FORGIVEN','WRITEOFF') }; } else { -- 2.30.2