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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Jul 2023 14:58:36 +0000 (15:58 +0100)
commit586fe347993093a49e2158c47796450e743618c8
tree67b28a02af91035e1c23c49fefb61d0b8ff8bb0c
parent698067dea19dcbd1823e151f967acf56662d4ee5
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>
(cherry picked from commit 65a45b761b65b784ac03d2c5901fb60e0dfe06b2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
reports/cash_register_stats.pl