Bug 29664: Do not show voided payments in cash_register_stats.pl
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 1 May 2023 13:50:24 +0000 (09:50 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 3 Jul 2023 17:51:35 +0000 (14:51 -0300)
commit65a45b761b65b784ac03d2c5901fb60e0dfe06b2
tree07af346f71311ca1e469b086d7c401573f3292c5
parent35c6d94d251e87ab2e09724e8b30fae4c882d0af
Bug 29664: Do not show voided payments in cash_register_stats.pl

Test Plan:
1) Set up your cash register
2) Take a payment
3) Void that payment
4) Verify the voided fee shows for the "All payments to the library" and
   "Payment" transaction type filters
5) Apply this patch
6) Restart all the things!
7) Verify the voided fee no longer shows for the "All payments to the library" and
   "Payment" transaction type filters

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
reports/cash_register_stats.pl